|
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 |
Aristophan Smarty Regular
Joined: 10 Jan 2011 Posts: 96
|
Posted: Thu Mar 13, 2014 5:32 pm Post subject: 3.1.17 clearCompiledTemplate will not work anymore |
|
|
Hi
With Smarty 3.1.17 the clearCompiledTemplate function was changed adding the realpath to $smarty->getCompileDir().
Code: | - $_compile_dir = $smarty->getCompileDir();
+ $_compile_dir = realpath($smarty->getCompileDir()); |
Now $smarty->clearCompiledTemplate(null, $template); does not work anymore.
With switching back without realname it is OK again.
Regards
Ian |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Thu Mar 13, 2014 8:41 pm Post subject: |
|
|
Sorry, my fault
It's fixed in the SVN trunk.
We will rollout 3.1.18 ASAP |
|
Back to top |
|
Aristophan Smarty Regular
Joined: 10 Jan 2011 Posts: 96
|
Posted: Fri Mar 14, 2014 7:17 am Post subject: |
|
|
Thanks. That works!
Uwe, could you please also check this:
There are some files with wrong non-lf line endings and some files having spaces where there should not be any, like '; ' or '} ' etc.
Even one file I remember had tabs and a bigger block of unnecessary spaces. (You can see them when adding this to GitHub via Git-Gui).
I am sorry to not have listed them to be changed , when I fixed them on the fly. |
|
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
|