Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

clear_compiled_tpl

 
Post new topic   Reply to topic    Smarty Forum Index -> Smarty 3
View previous topic :: View next topic  
Author Message
metalkid
Smarty Rookie


Joined: 28 Mar 2009
Posts: 5

PostPosted: Sat Mar 28, 2009 3:32 am    Post subject: clear_compiled_tpl Reply with quote

When testing out the smarty alpha, it seems clear_compiled_tpl wants to wipe everything in the entire compile dir... which isn't the functionality of smarty 2.

In this instance my project is in svn but tested locally. The compile dir is versioned (compiled files aren't obviously) and clear_compiled_tpl tries to delete .svn folders.

Maybe smarty 2 did this but skipped directories?
Back to top
View user's profile Send private message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7368
Location: Lincoln Nebraska, USA

PostPosted: Sat Mar 28, 2009 3:43 am    Post subject: Reply with quote

smarty 2 may have skipped .hidden dirs. we can probably implement that.
Back to top
View user's profile Send private message Visit poster's website
metalkid
Smarty Rookie


Joined: 28 Mar 2009
Posts: 5

PostPosted: Sat Mar 28, 2009 3:47 am    Post subject: Reply with quote

Yeah, could see it causing trouble for people using svn. Of course in this instance smarty didn't have privileges for it, so it didn't matter Smile
Back to top
View user's profile Send private message
U.Tews
Administrator


Joined: 22 Nov 2006
Posts: 5068
Location: Hamburg / Germany

PostPosted: Sat Mar 28, 2009 8:49 am    Post subject: Reply with quote

The .svn folder is touched any longer.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Smarty 3 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