Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

coloquei assim,ta certo

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: Portuguese
View previous topic :: View next topic  
Author Message
pauloedu
Smarty Rookie


Joined: 28 Aug 2008
Posts: 6

PostPosted: Sun Oct 26, 2008 1:01 am    Post subject: coloquei assim,ta certo Reply with quote

[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
View user's profile Send private message
migas
Smarty Regular


Joined: 07 Apr 2004
Posts: 73
Location: Porto, Portugal

PostPosted: Wed Nov 05, 2008 10:28 am    Post subject: Reply with quote

Se funcionar sim Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: Portuguese All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP