Request for Discussion: use_sub_dirs' default value

From: Date: Fri, 30 Jan 2004 08:38:44 +0000
Subject: Request for Discussion: use_sub_dirs' default value
Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-2080@lists.php.net to get a copy of this message
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

« previous php.smarty.dev (#2080) next »