Re[2]: [SMARTY] Urgent help needed.
| From: | Bertrand DUNOGIER | Date: | Thu, 20 Jun 2002 07:08:28 +0000 |
| Subject: | Re[2]: [SMARTY] Urgent help needed. | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4959@lists.php.net to get a copy of this message | ||
RM> Bertrand D. has made wrapper-class that solves this problem - at
RM> least it did for me...
(I didn't write it, someone else did, and i updated it for Smarty
2.X).
Anyway, it should not be necessary any longer:
mohrt Tue Jun 11 16:06:35 2002 EDT
Modified files:
/smarty NEWS Smarty.class.php
Log:
added support for subdir exclusion, deletion by full or partial
cache_id and compile_id, change file format to urlencoded values
instead of crc32
...
+ var $use_sub_dirs = true;
+ // use sub dirs for cache and compiled files?
+ // sub directories are more efficient, but
+ // you can set this to false if your PHP environment
+ // does not allow the creation of them.
So, if you set $tpl->use_sub_dirs to false, no subdirectories will be
created in templates_c, and Smarty will work perfectly.
Bertrand