Re[2]: [SMARTY] smarty updates: cache/compile stuff
| From: | Daniil Kaltchenko | Date: | Wed, 12 Jun 2002 20:17:19 +0000 |
| Subject: | Re[2]: [SMARTY] smarty updates: cache/compile stuff | ||
| References: | 1 2 3 4 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4819@lists.php.net to get a copy of this message | ||
Hi, Monte.
I agree with you, that we don't need to use subdirectories. But "%2F"
isn't artistic :) and yet isn't even convenient! Perhaps we can change
directory separator to "_". Other symbols for urlcoding will occur much
rarely, if actually will be used in filepaths.
Daniil
Wednesday, June 12, 2002, 10:33:22 PM, you wrote:
MO> Smarty only needs directories built from cache_id and compile_id values.
MO> All templates within a certain cache_id/compile_id get created as single
MO> filenames. They don't really _need_ to be in subdirectories beyond that.
MO> I suppose we could split up files based on the resource path so they
MO> more closely represent the structure under template_dir, although that
MO> adds to the complexity of the filepaths and will take extra cycles to
MO> remove.
MO> 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.