|
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 |
jausions Smarty Rookie
Joined: 06 Nov 2003 Posts: 10
|
Posted: Thu May 13, 2004 12:33 pm Post subject: Problem with ".." in template_c absolute path |
|
|
Hi,
Here's a diff file to fix the problem of having ".." in a path to templates_c/ dir
If your path is something like this:
/root/server/web/site/public/../templates_c
smarty_core_create_dir_structure() will attempt to create a folder named ".." under "public". Obviously this is wrong.
This http://www.11abacus.com/cvs/smarty/core.create_dir_structure.diff file resolves the problem.
Thanks,
-Philippe |
|
Back to top |
|
Duncan Smarty Pro
Joined: 16 Dec 2003 Posts: 166
|
Posted: Sun May 16, 2004 5:14 am Post subject: Re: Problem with ".." in template_c absolute path |
|
|
jausions wrote: | /root/server/web/site/public/../templates_c |
Just out of curiosity: why would s.o. use ".." in absolute paths? |
|
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
|