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

clearCompiledTemplate()

 
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 -> Bugs
View previous topic :: View next topic  
Author Message
Soren
Smarty n00b


Joined: 23 Dec 2011
Posts: 4

PostPosted: Fri Dec 23, 2011 3:48 pm    Post subject: clearCompiledTemplate() Reply with quote

clearCompiledTemplate() doesn't clear my 'compiled' folder.

I've found root of problem:

At line 234 of smarty_internal_utility.php file path is testing for ".svn" substring:
Code:
if (substr($_file->getBasename(), 0, 1) == '.' || strpos($_file, '.svn') !== false)
                continue;

But my project lacated in "W:\home\somesite.svn\www" folder, so Smarty doesn't delete files like "W:\home\somesite.svn\www\os/.temp/t/compiled3\0fbfa012a8ca4883d9654ed479dd5b8073703c2f.string.php"
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 -> Bugs 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