Re: [SMARTY] smarty updates: cache/compile stuff
| From: | Monte Ohrt | Date: | Thu, 13 Jun 2002 21:40:09 +0000 |
| Subject: | Re: [SMARTY] smarty updates: cache/compile stuff | ||
| References: | 1 2 3 4 5 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4830@lists.php.net to get a copy of this message | ||
I thought about that, and throught about using "_" too. But if you have underscores in your path names it could look really confusing. I opted for url escapement just to be consistant. Not real pretty, but no one looks at these files anyways, right? ;-)
Daniil Kaltchenko wrote:
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.