Changeset 1058
- Timestamp:
- 08/25/08 22:16:16 (3 months ago)
- Files:
-
- trunk/lib/jelix/core/defaultconfig.ini.php (modified) (1 diff)
- trunk/lib/jelix/core/jConfigCompiler.class.php (modified) (3 diffs)
- trunk/lib/jelix/CREDITS (modified) (1 diff)
- trunk/testapp/var/config/defaultconfig.ini.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/jelix/core/defaultconfig.ini.php
r986 r1058 4 4 startModule = "jelix" 5 5 startAction = "default:index" 6 locale = " fr_FR"6 locale = "en_US" 7 7 charset = "UTF-8" 8 timeZone = "Europe/Paris" 8 9 ; see http://www.php.net/manual/en/timezones.php for supported values 10 ; if empty, jelix will try to get the default timezone 11 timeZone = 9 12 10 13 checkTrustedModules = off trunk/lib/jelix/core/jConfigCompiler.class.php
r1001 r1058 4 4 * @subpackage core 5 5 * @author Jouanneau Laurent 6 * @contributor Thibault PIRONT < nuKs > 6 * @contributor Thibault PIRONT < nuKs >, Christophe Thiriot 7 7 * @copyright 2006-2008 Jouanneau laurent 8 * @copyright 2007 Thibault PIRONT 8 * @copyright 2007 Thibault PIRONT, 2008 Christophe Thiriot 9 9 * @link http://www.jelix.org 10 10 * @licence GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html … … 88 88 self::_initResponsesPath($config->_coreResponses); 89 89 90 if (trim($config->timeZone) === '') { 91 #if PHP50 92 $config->timeZone = "Europe/Paris"; 93 #else 94 $config->timeZone = date_default_timezone_get(); 95 #endif 96 } 90 97 91 98 /*if(preg_match("/^([a-zA-Z]{2})(?:_([a-zA-Z]{2}))?$/",$config->locale,$m)){ … … 147 154 self::_initResponsesPath($config['responses']); 148 155 self::_initResponsesPath($config['_coreResponses']); 156 if (trim($config['timeZone']) === '') { 157 #if PHP50 158 $config['timeZone'] = "Europe/Paris"; 159 #else 160 $config['timeZone'] = date_default_timezone_get(); 161 #endif 162 } 149 163 150 164 /*if(preg_match("/^([a-zA-Z]{2})(?:_([a-zA-Z]{2}))?$/",$config['locale'],$m)){ trunk/lib/jelix/CREDITS
r1046 r1058 86 86 - Added enhanced service handling (dependency injection) in jClasses (#523, #602) 87 87 - implementation of "live" exit in command line (#406) 88 88 - automatic timezone setting (#600) 89 89 90 90 Contributors trunk/testapp/var/config/defaultconfig.ini.php
r838 r1058 2 2 ;for security reasons , don't remove or modify the first line 3 3 4 locale = " fr_FR"4 locale = "en_US" 5 5 charset = "UTF-8" 6 6 7 7 ; see http://www.php.net/manual/en/timezones.php for supported values 8 timeZone = "Europe/Paris" 8 ; if empty, jelix will try to get the default timezone 9 timeZone = 9 10 10 11 checkTrustedModules = off
