2
0
mirror of https://github.com/slawkens/myaac.git synced 2025-05-11 16:39:21 +02:00

Fix broken installation I introduced in 0.8.15

This commit is contained in:
slawkens 2024-02-12 21:39:04 +01:00
parent 9dcc08ee6e
commit 42154d55a0

@ -100,7 +100,7 @@ for($i = 1; $i < $size; $i++)
$basedir = str_replace(array('/admin', '/install', '/tools'), '', $basedir);
define('BASE_DIR', $basedir);
if (file_exists(BASE . 'config.local.php')) {
if (file_exists(BASE . 'config.local.php') && !defined('MYAAC_INSTALL')) {
require BASE . 'config.local.php';
}