Browse Source

Removed DebugTarget reference from advanced app template configs

tags/2.0.0-beta
Alexander Makarov 11 years ago
parent
commit
f877de144b
  1. 9
      apps/advanced/environments/dev/backend/config/main-local.php
  2. 9
      apps/advanced/environments/dev/frontend/config/main-local.php
  3. 1
      apps/advanced/frontend/config/main.php

9
apps/advanced/environments/dev/backend/config/main-local.php

@ -5,13 +5,4 @@ return array(
// 'class' => 'yii\debug\Module', // 'class' => 'yii\debug\Module',
// ), // ),
), ),
'components' => array(
'log' => array(
'targets' => array(
// array(
// 'class' => 'yii\log\DebugTarget',
// )
),
),
),
); );

9
apps/advanced/environments/dev/frontend/config/main-local.php

@ -5,13 +5,4 @@ return array(
// 'class' => 'yii\debug\Module', // 'class' => 'yii\debug\Module',
// ), // ),
), ),
'components' => array(
'log' => array(
'targets' => array(
// array(
// 'class' => 'yii\log\DebugTarget',
// )
),
),
),
); );

1
apps/advanced/frontend/config/main.php

@ -14,6 +14,7 @@ return array(
'vendorPath' => dirname(dirname(__DIR__)) . '/vendor', 'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
'controllerNamespace' => 'frontend\controllers', 'controllerNamespace' => 'frontend\controllers',
'modules' => array( 'modules' => array(
'gii' => 'yii\gii\Module'
), ),
'components' => array( 'components' => array(
'db' => $params['components.db'], 'db' => $params['components.db'],

Loading…
Cancel
Save