Author: dr Date: Fri Jan 11 15:57:01 2008 New Revision: 7129 Log: - Implemented issue #10940: Possibility to set default permissions to the compiled templates and generated cache files, by using the 0777 mode for creating the directories in which the compiled templates are stored. This mode is still modified by the umask.
Modified: trunk/Template/ChangeLog trunk/Template/src/template.php Modified: trunk/Template/ChangeLog ============================================================================== --- trunk/Template/ChangeLog [iso-8859-1] (original) +++ trunk/Template/ChangeLog [iso-8859-1] Fri Jan 11 15:57:01 2008 @@ -18,6 +18,10 @@ - Fixed issue #12368: ezcTemplateConfiguration::addExtension() did not check for invalid arguments correctly. +- Implemented issue #10940: Possibility to set default permissions to + the compiled templates and generated cache files, by using the 0777 mode for + creating the directories in which the compiled templates are stored. This + mode is still modified by the umask. 1.2 - Monday 02 July 2007 Modified: trunk/Template/src/template.php ============================================================================== --- trunk/Template/src/template.php [iso-8859-1] (original) +++ trunk/Template/src/template.php [iso-8859-1] Fri Jan 11 15:57:01 2008 @@ -383,7 +383,7 @@ { if ( !is_dir( $path ) ) { - $created = @mkdir( $path, 0700, true ); + $created = @mkdir( $path, 0777, true ); if ( !$created ) { throw new ezcTemplateFileNotWriteableException( $path ); -- svn-components mailing list svn-components@lists.ez.no http://lists.ez.no/mailman/listinfo/svn-components