Re: [SMARTY] smarty updates: cache/compile stuff
| From: | Monte Ohrt | Date: | Wed, 12 Jun 2002 18:33:22 +0000 |
| Subject: | Re: [SMARTY] smarty updates: cache/compile stuff | ||
| References: | 1 2 3 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4812@lists.php.net to get a copy of this message | ||
Smarty only needs directories built from cache_id and compile_id values. All templates within a certain cache_id/compile_id get created as single filenames. They don't really _need_ to be in subdirectories beyond that. I suppose we could split up files based on the resource path so they more closely represent the structure under template_dir, although that adds to the complexity of the filepaths and will take extra cycles to remove.
Matthias Pfafferodt wrote:
Hi all, after the update to the newest cvs-version of smarty I get files like "dir%2Ffile.tpl.php" from my templates ("dir/file.tpl"). Why does smarty not create the directory? The config variable $use_sub_dir is set to true. cu Matthias-- Monte Ohrt <monte@ispi.net> Director of Technology, ispi Inc.