@@ -91,7 +91,7 @@ |
||
91 | 91 | } |
92 | 92 | } |
93 | 93 | |
94 | - $recursive = function ($config, $space = ' ') use (&$recursive, $output) { |
|
94 | + $recursive = function($config, $space = ' ') use (&$recursive, $output) { |
|
95 | 95 | foreach ($config as $key => $item) { |
96 | 96 | if (is_array($item)) { |
97 | 97 | $space = ' '; |
@@ -34,17 +34,17 @@ |
||
34 | 34 | |
35 | 35 | parent::__construct($values); |
36 | 36 | |
37 | - $base = __DIR__ . '/../..'; |
|
37 | + $base = __DIR__.'/../..'; |
|
38 | 38 | $installLog = '/app/log/install.log'; |
39 | 39 | |
40 | 40 | // log file for install has to be writable |
41 | - if (!is_writable($base . $installLog)) { |
|
42 | - echo '以下のファイルのアクセス制限を変更してください。<br>' . PHP_EOL; |
|
43 | - echo '× : '.$installLog.'<br><br>' . PHP_EOL; |
|
41 | + if (!is_writable($base.$installLog)) { |
|
42 | + echo '以下のファイルのアクセス制限を変更してください。<br>'.PHP_EOL; |
|
43 | + echo '× : '.$installLog.'<br><br>'.PHP_EOL; |
|
44 | 44 | } |
45 | 45 | |
46 | 46 | $app->register(new \Silex\Provider\MonologServiceProvider(), array( |
47 | - 'monolog.logfile' => __DIR__.'/../..' . $installLog, |
|
47 | + 'monolog.logfile' => __DIR__.'/../..'.$installLog, |
|
48 | 48 | )); |
49 | 49 | |
50 | 50 | // load config |