Re: [SMARTY-DEV] Request for Discussion: use_sub_dirs' default value
| From: | Jan Rosier / Interstroom | Date: | Fri, 30 Jan 2004 09:15:03 +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-2082@lists.php.net to get a copy of this message | ||
+1
Jan Rosier
* To do great things is difficult, but to command great things is more
difficult. - Friedrich Wilhelm Nietzsche *
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?
>
> greetings
> messju