settings add hr options

This commit is contained in:
xiaomlove
2022-02-08 17:01:39 +08:00
parent 9817324922
commit c4697a7d89
3 changed files with 18 additions and 4 deletions

View File

@@ -542,7 +542,7 @@ class Install
public function runMigrate()
{
if (!WITH_LARAVEL) {
throw new \RuntimeException('Laravel is not avaliable.');
throw new \RuntimeException('Laravel is not available.');
}
$command = "php " . ROOT_PATH . "artisan migrate --force";
$result = exec($command, $output, $result_code);
@@ -558,7 +558,7 @@ class Install
public function runDatabaseSeeder()
{
if (!WITH_LARAVEL) {
throw new \RuntimeException('Laravel is not avaliable.');
throw new \RuntimeException('Laravel is not available.');
}
$command = "php " . ROOT_PATH . "artisan db:seed";
$result = exec($command, $output, $result_code);