Re: [SMARTY-DEV] Request for Discussion: use_sub_dirs' default value
| From: | messju mohr | Date: | Sat, 07 Feb 2004 20:32:12 +0000 |
| Subject: | Re: [SMARTY-DEV] Request for Discussion: use_sub_dirs' default value | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-2094@lists.php.net to get a copy of this message | ||
On Fri, Jan 30, 2004 at 09:38:44AM +0100, messju mohr wrote:
>
> Hello,
>
> I often stumble over people who stumble over problems when it comes to
> handling the templates_c-folder: Files can not be created (because of
> safe_mode-restrictions) or files cannot be deleted (because there is
> only ftp-access as a different user than the webserver is).
>
> These problems are easy to solve for experienced users, but hard for
> beginners. I think the speed benefit of use_sub_dirs=true
> vs. use_sub_dirs=false is only measurable when a huge number of
> templates is used (maybe caused by a database-resource) or when
> caching with a reasonable number of cache_ids is done. IMHO, these two
> are advanced uses of smarty and people who do things like that can be
> expected to turn use_sub_dirs on explicitely.
>
> Shouldn't Smarty come with $use_sub_dirs=false as default?
Okay, all people that didn't complain can post now. I changed it to
"false". If there are any serious issues with $use_sub_dir defaulting
to false, that i don't know of, tell me.
messju
> greetings
> messju