|
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 |
chris12 Smarty n00b
Joined: 15 Jan 2004 Posts: 1
|
Posted: Thu Jan 15, 2004 9:25 pm Post subject: how do you make smarty work with php in safemode |
|
|
Hi there,
I am a complete newbie but I have some code which will not load to the templates as my server is in php with safe mode enabled.
In the past I was able to use a simple code snippet to remove the obstacle caused by safemode but it would appear this no longer works for the later versions of smarty such as version 2.5.0
Some time back messju very kindly sent me a post which said if I used this little snippet all with be ok and it was:
$smarty->use_sub_dirs=false.
Anyone out there got any ideas please??
Thanks
Chris |
|
Back to top |
|
Gerald Smarty Regular
Joined: 26 Nov 2003 Posts: 53 Location: Lyon [France]
|
Posted: Fri Jan 16, 2004 1:50 pm Post subject: |
|
|
I think it didn't change.....
I also am using smarty in a safe mode context, all is working thanks to
$config->use_sub_dir = false
(you're editing this in the Smarty.class.php right ?)
What error message do you get ? |
|
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
|