sensorario
11 years ago
4 changed files with 42 additions and 42 deletions
@ -1,25 +1,25 @@ |
|||||||
<?php |
<?php |
||||||
$params = require(__DIR__ . '/params.php'); |
$params = require(__DIR__ . '/params.php'); |
||||||
return array( |
return [ |
||||||
'id' => 'bootstrap-console', |
'id' => 'bootstrap-console', |
||||||
'basePath' => dirname(__DIR__), |
'basePath' => dirname(__DIR__), |
||||||
'preload' => array('log'), |
'preload' => array('log'), |
||||||
'controllerPath' => dirname(__DIR__) . '/commands', |
'controllerPath' => dirname(__DIR__) . '/commands', |
||||||
'controllerNamespace' => 'app\commands', |
'controllerNamespace' => 'app\commands', |
||||||
'modules' => array( |
'modules' => [ |
||||||
), |
], |
||||||
'components' => array( |
'components' => [ |
||||||
'cache' => array( |
'cache' => [ |
||||||
'class' => 'yii\caching\FileCache', |
'class' => 'yii\caching\FileCache', |
||||||
), |
], |
||||||
'log' => array( |
'log' => [ |
||||||
'targets' => array( |
'targets' => [ |
||||||
array( |
[ |
||||||
'class' => 'yii\log\FileTarget', |
'class' => 'yii\log\FileTarget', |
||||||
'levels' => array('error', 'warning'), |
'levels' => ['error', 'warning'], |
||||||
), |
], |
||||||
), |
], |
||||||
), |
], |
||||||
), |
], |
||||||
'params' => $params, |
'params' => $params, |
||||||
); |
]; |
||||||
|
@ -1,5 +1,5 @@ |
|||||||
<?php |
<?php |
||||||
|
|
||||||
return array( |
return [ |
||||||
'adminEmail' => 'admin@example.com', |
'adminEmail' => 'admin@example.com', |
||||||
); |
]; |
||||||
|
Loading…
Reference in new issue