cli fix
This commit is contained in:
parent
951ff14c5f
commit
f6bae08c05
2
cli.php
2
cli.php
@ -24,7 +24,7 @@ function _exit(string $line = "") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getDatabaseConfig(): ConnectionData {
|
function getDatabaseConfig(): ConnectionData {
|
||||||
$configClass = "\\Configuration\\Database";
|
$configClass = "\\Site\\Configuration\\Database";
|
||||||
$file = getClassPath($configClass);
|
$file = getClassPath($configClass);
|
||||||
if (!file_exists($file) || !is_readable($file)) {
|
if (!file_exists($file) || !is_readable($file)) {
|
||||||
_exit("Database configuration does not exist or is not readable");
|
_exit("Database configuration does not exist or is not readable");
|
||||||
|
Loading…
Reference in New Issue
Block a user