diff --git a/yii/yiic.php b/yii/yiic.php index 7cd0c40..3be0436 100644 --- a/yii/yiic.php +++ b/yii/yiic.php @@ -7,6 +7,10 @@ * @license http://www.yiiframework.com/license/ */ +if(!ini_get('date.timezone')) { + date_default_timezone_set('UTC'); +} + defined('YII_DEBUG') or define('YII_DEBUG', true); // fcgi doesn't have STDIN defined by default