Commit 1ccce67f by Alexander Makarov

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

parent 810d232e
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment