变更
This commit is contained in:
@@ -69,10 +69,6 @@ class BackupCommand extends Command
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$databaseInfo = $data->createCommand('show create DATABASE `' . $data->database . '`')->one();
|
|
||||||
|
|
||||||
$database = next($databaseInfo);
|
|
||||||
|
|
||||||
$path = $input->getArgument('path');
|
$path = $input->getArgument('path');
|
||||||
if (!str_starts_with($path, '/')) {
|
if (!str_starts_with($path, '/')) {
|
||||||
$path = APP_PATH . $path;
|
$path = APP_PATH . $path;
|
||||||
|
|||||||
Reference in New Issue
Block a user