Ticket #600: timezone.jConfigCompiler.patch
| File timezone.jConfigCompiler.patch, 1.0 kB (added by doubleface, 6 months ago) |
|---|
-
a/lib/jelix/core/jConfigCompiler.class.php
old new 76 76 self::_initResponsesPath($config->responses); 77 77 self::_initResponsesPath($config->_coreResponses); 78 78 79 if (trim($config->timeZone) === '') { 80 $config->timeZone = date_default_timezone_get(); 81 } 82 79 83 80 84 /*if(preg_match("/^([a-zA-Z]{2})(?:_([a-zA-Z]{2}))?$/",$config->locale,$m)){ 81 85 if(!isset($m[2])){ … … 135 139 136 140 self::_initResponsesPath($config['responses']); 137 141 self::_initResponsesPath($config['_coreResponses']); 142 143 if (trim($config['timeZone']) === '') { 144 $config['timeZone'] = date_default_timezone_get(); 145 } 138 146 139 147 /*if(preg_match("/^([a-zA-Z]{2})(?:_([a-zA-Z]{2}))?$/",$config['locale'],$m)){ 140 148 if(!isset($m[2])){
