Ticket #600: timezone.patch

File timezone.patch, 0.5 kB (added by doubleface, 8 months ago)

patch on jCoordinator

  • a/jCoordinator.class.php

    old new  
    9393        if($gJConfig->use_error_handler){ 
    9494            set_error_handler('jErrorHandler'); 
    9595            set_exception_handler('JExceptionHandler'); 
     96        } 
     97 
     98        if (!isset($gJConfig->timeZone)) 
     99        { 
     100            $gJConfig->timeZone = date_default_timezone_get(); 
    96101        } 
    97102        date_default_timezone_set($gJConfig->timeZone); 
    98103        $this->_loadPlugins(); 
Download in other formats: Original Format