|
@@ -39,7 +39,7 @@ discard block |
|
|
block discarded – undo |
|
39
|
39
|
|
|
40
|
40
|
if (is_writable($logDir)) { |
|
41
|
41
|
if (file_exists($installLog) && !is_writable($installLog)) { |
|
42
|
|
- die($installLog . ' の書込権限を変更して下さい。'); |
|
|
42
|
+ die($installLog.' の書込権限を変更して下さい。'); |
|
43
|
43
|
} |
|
44
|
44
|
// install step2 でログディレクトリに書き込み権限が付与されればログ出力を開始する. |
|
45
|
45
|
$app->register(new \Silex\Provider\MonologServiceProvider(), array( |
|
@@ -80,7 +80,7 @@ discard block |
|
|
block discarded – undo |
|
80
|
80
|
'twig.path' => array(__DIR__.'/Resource/template/install'), |
|
81
|
81
|
'twig.form.templates' => array('bootstrap_3_horizontal_layout.html.twig'), |
|
82
|
82
|
)); |
|
83
|
|
- $this['twig'] = $this->share($this->extend('twig', function (\Twig_Environment $twig, \Silex\Application $app) { |
|
|
83
|
+ $this['twig'] = $this->share($this->extend('twig', function(\Twig_Environment $twig, \Silex\Application $app) { |
|
84
|
84
|
$twig->addExtension(new \Twig_Extension_StringLoader()); |
|
85
|
85
|
return $twig; |
|
86
|
86
|
})); |
Please login to merge, or discard this patch.