This commit is contained in:
Roman 2022-11-18 18:54:22 +01:00
parent 951ff14c5f
commit f6bae08c05

@ -24,7 +24,7 @@ function _exit(string $line = "") {
}
function getDatabaseConfig(): ConnectionData {
$configClass = "\\Configuration\\Database";
$configClass = "\\Site\\Configuration\\Database";
$file = getClassPath($configClass);
if (!file_exists($file) || !is_readable($file)) {
_exit("Database configuration does not exist or is not readable");