Browse Source

fixes #209: do not produce error if not timezone set in case of running yiic from framework dir

tags/2.0.0-beta
Alexander Makarov 12 years ago
parent
commit
1ccce67f34
  1. 4
      yii/yiic.php

4
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

Loading…
Cancel
Save