Browse Source

fixes #209 added setting default timezone to UTC in case it's not set via php.ini

tags/2.0.0-beta
Alexander Makarov 12 years ago
parent
commit
810d232ee6
  1. 4
      apps/bootstrap/index.php

4
apps/bootstrap/index.php

@ -1,4 +1,8 @@
<?php
if(!ini_get('date.timezone')) {
date_default_timezone_set('UTC');
}
// comment out the following line to disable debug mode
defined('YII_DEBUG') or define('YII_DEBUG', true);

Loading…
Cancel
Save