Skip to content

Commit

Permalink
improved portability
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed Jun 14, 2015
1 parent 1d6e394 commit 5350f2e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hidev
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
* @copyright Copyright (c) 2015 HiQDev
*/

ini_set('error_reporting', E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_NOTICE);

defined('YII_DEBUG') or define('YII_DEBUG', true);
defined('YII_ENV') or define('YII_ENV', 'dev');

Expand All @@ -25,6 +27,7 @@ if (!file_exists($autoload_path)) {
require($autoload_path);
require(__DIR__ . '/vendor/yiisoft/yii2/Yii.php');

Yii::setAlias('@hidev', __DIR__);
Yii::setLogger(Yii::createObject('hidev\base\Logger'));

$application = new hidev\base\Application([
Expand Down

0 comments on commit 5350f2e

Please sign in to comment.