diff --git a/apps/basic/config/web.php b/apps/basic/config/web.php index bea08cb..b25d92d 100644 --- a/apps/basic/config/web.php +++ b/apps/basic/config/web.php @@ -3,6 +3,13 @@ return array( 'id' => 'bootstrap', 'basePath' => dirname(__DIR__), + 'preload' => array('debug'), + 'modules' => array( + 'debug' => array( + 'class' => 'yii\debug\Module', + 'enabled' => YII_DEBUG && YII_ENV === 'dev', + ), + ), 'components' => array( 'cache' => array( 'class' => 'yii\caching\FileCache', diff --git a/apps/basic/views/layouts/main.php b/apps/basic/views/layouts/main.php index 0af2fe2..77f7b8d 100644 --- a/apps/basic/views/layouts/main.php +++ b/apps/basic/views/layouts/main.php @@ -18,8 +18,8 @@ $this->registerAssetBundle('app'); head(); ?>
+beginBody(); ?>