|
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 |
PSiegmund Smarty Rookie
Joined: 04 May 2003 Posts: 6 Location: Berlin, Germany
|
Posted: Sun May 04, 2003 12:47 pm Post subject: clearing the complete templates_c - BIG PROBLEM |
|
|
Hi!
I've got a big problem with the files in the templates_c dir.
At first I started with the parameter "use_sub_dirs=true". In this way I had a writeproblem, so I created the needed dirs manually an cdmoded all to 777. After that it worked, but I decided to turn "use_sub_dirs" off. Now I can't delete the tpl-files in the subdirs of templates_c, because the owner ist "wwwrun" and not my ftp-login.
Does anybody have an idea, how to delete the files? The dirs are own by my ftp-account. So i only want to delete the tpl-files under templates_c subdirs.
Please help me. It's important. I have an ssl account, so i can access my page via putty, but only with my ftp-account.
CU
PSiegmund
PS: I used <?php unlink($file) ?>, but i can't access this files. |
|
Back to top |
|
boots Administrator
Joined: 16 Apr 2003 Posts: 5611 Location: Toronto, Canada
|
|
Back to top |
|
PSiegmund Smarty Rookie
Joined: 04 May 2003 Posts: 6 Location: Berlin, Germany
|
Posted: Sun May 04, 2003 1:18 pm Post subject: That was the first prob. |
|
|
That was my first prob.
Later I changed the "use_sub_dirs" settings to false, but smarty has already created files in subdirs (which I created). How can i delete them? This is my prob. |
|
Back to top |
|
Wom.bat Smarty Pro
Joined: 24 Apr 2003 Posts: 107 Location: Munich, Germany
|
Posted: Sun May 04, 2003 1:19 pm Post subject: |
|
|
do a $smarty->clear_compiled_tpl(), this erases everything under templates_c |
|
Back to top |
|
PSiegmund Smarty Rookie
Joined: 04 May 2003 Posts: 6 Location: Berlin, Germany
|
Posted: Sun May 04, 2003 1:32 pm Post subject: U R MY HERO |
|
|
Thanks!!!!
U R MY HERO. It worked. |
|
Back to top |
|
Wom.bat Smarty Pro
Joined: 24 Apr 2003 Posts: 107 Location: Munich, Germany
|
Posted: Sun May 04, 2003 1:34 pm Post subject: |
|
|
"Red Zac. You Are My Hero" |
|
Back to top |
|
AZTEK Smarty Pro
Joined: 16 Apr 2003 Posts: 235 Location: Purdue University
|
Posted: Sun May 04, 2003 3:10 pm Post subject: |
|
|
Those animated forum avatars get really annoying _________________ "Imagine a school with children that can read and write, but with teachers who cannot, and you have a metaphor of the Information Age in which we live." -Peter Cochrane |
|
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
|