|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
pauloedu Smarty Rookie
Joined: 28 Aug 2008 Posts: 6
|
Posted: Sun Oct 26, 2008 1:01 am Post subject: coloquei assim,ta certo |
|
|
[url=http://f62ca7a8.blahetc.com]?php
session_start();
/*****************************************/
require('includes/config.inc.php');
require('includes/class.dbconnector.php');
require('Smarty/libs/Smarty.class.php');
/*****************************************/
$smarty = new Smarty();
$smarty->template_dir = '/www.fup.org.br/admin/templates';
$smarty->compile_dir = '/www.fup.org.br/admin/templates_c';
$smarty->config_dir = '/www.fup.org.br/admin/configs';
$smarty->cache_dir = '/www.fup.org.br/admin/cache';
$smarty->debugging = _SMARTY_DEBUG_; (esta false)
$smarty->compile_check = _SMARTY_COMPILE_CHECK_;(esta true)
$smarty->assign('login',$_SESSION['logedUser_login']);
$smarty->assign('erro',$_SESSION['erro']);
$smarty->display('login1.htm');
?>[/url]
Last edited by pauloedu on Wed May 05, 2010 10:45 pm; edited 1 time in total |
|
Back to top |
|
migas Smarty Regular
Joined: 07 Apr 2004 Posts: 73 Location: Porto, Portugal
|
Posted: Wed Nov 05, 2008 10:28 am Post subject: |
|
|
Se funcionar sim |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|