This commit is contained in:
Tokumeikoi 2020-01-29 17:10:10 +08:00
parent af400b3a0b
commit 5a4b208aab
4 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ class V2boardInstall extends Command
sleep(2);
\Artisan::call('config:cache');
DB::connection()->getPdo();
$file = \File::get(base_path() . '/install.sql');
$file = \File::get(base_path() . '/database/install.sql');
if (!$file) {
abort(500, '数据库文件不存在');
}

View File

@ -40,7 +40,7 @@ class V2boardUpdate extends Command
{
\Artisan::call('config:cache');
DB::connection()->getPdo();
$file = \File::get(base_path() . '/update.sql');
$file = \File::get(base_path() . '/database/update.sql');
if (!$file) {
abort(500, '数据库文件不存在');
}