Re: [SMARTY] $use_sub_dirs ??

From: Date: Fri, 25 Oct 2002 10:21:39 +0000
Subject: Re: [SMARTY] $use_sub_dirs ??
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6239@lists.php.net to get a copy of this message
MP> Can someone tell me what the variable $use_sub_dirs means ?? My MP> understanding of it is that it is related to caching, in the sense MP> sub-directories would be created under the main cache directory, cache. MP> If this is correct, can someone tell me when the sub-directory creation MP> would begin ?? Would it be something like, after every 100 cached MP> directories under the cache directory, the first sub-directory would be MP> created & so on... ?? (just guessing :-) As far as i know, it decides wether to create subdirs in templates_c and cache directories. The default method creates subdirs and it is faster to retrieve the files this way, but with $use_sub_dirs = false, no subdirs are created and Smarty can work on safe_mode enabled servers. Bertrand

« previous php.smarty.general (#6239) next »