Skip to content

Commit

Permalink
インストーラーを調整
Browse files Browse the repository at this point in the history
app_local.php が作成されない場合があったため
  • Loading branch information
ryuring committed Apr 19, 2023
1 parent 6ec48ca commit eb1de23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer_installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function command($phpPath)
$command = "cd " . ROOT_DIR . "; export HOME={$composerDir} ; {$phpPath} {$composerDir}composer.phar self-update";
exec($command, $out, $code);
if ($code !== 0) throw new Exception('composer のアップデートに失敗しました。');
$command = "cd " . ROOT_DIR . "; export HOME={$composerDir} ; {$phpPath} {$composerDir}composer.phar install";
$command = "cd " . ROOT_DIR . "; export HOME={$composerDir} ; yes | {$phpPath} {$composerDir}composer.phar install";
exec($command, $out, $code);
if ($code !== 0) throw new Exception('ライブラリのインストールに失敗しました。<br>コマンド実行をお試しください<br>' . $command);
if (!copy(ROOT_DIR . 'config' . DS . '.env.example', ROOT_DIR . 'config' . DS . '.env')) {
Expand Down

0 comments on commit eb1de23

Please sign in to comment.