@@ -2,7 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | defined('ROOT') or define('ROOT', realpath(__DIR__ . '/../')); |
| 4 | 4 | |
| 5 | -require ROOT .'/vendor/autoload.php'; |
|
| 5 | +require ROOT . '/vendor/autoload.php'; |
|
| 6 | 6 | $loader = require ROOT . '/common/config/loader.php'; |
| 7 | 7 | |
| 8 | 8 | // comment out the following two lines when deployed to production |
@@ -4,7 +4,7 @@ |
||
| 4 | 4 | use yii\helpers\ArrayHelper; |
| 5 | 5 | |
| 6 | 6 | $configFile = ROOT . '/config/config.yml'; |
| 7 | -$defaultConfig = ROOT .'/config/config-default.yml'; |
|
| 7 | +$defaultConfig = ROOT . '/config/config-default.yml'; |
|
| 8 | 8 | |
| 9 | 9 | if (!file_exists($configFile)) { |
| 10 | 10 | throw new Exception('Missing config/config.yml file.'); |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | 'id' => $yaml['app']['id'], |
| 9 | 9 | 'name' => $yaml['app']['name'], |
| 10 | 10 | 'basePath' => ROOT, |
| 11 | - 'bootstrap' => [ 'log' ], |
|
| 11 | + 'bootstrap' => ['log'], |
|
| 12 | 12 | 'language' => 'en-US', |
| 13 | 13 | 'sourceLanguage' => 'en-US', |
| 14 | 14 | 'components' => [ |