Fix apache 500 error on admin

when no config.local.php exist
This commit is contained in:
slawkens 2020-02-25 09:26:50 +01:00
parent 6e99c6d41f
commit 83a51eebfb

View File

@ -1,7 +1,10 @@
<?php
// few things we'll need
require '../common.php';
require_once BASE . 'config.local.php';
if(file_exists(BASE . 'config.local.php')) {
require_once BASE . 'config.local.php';
}
if(file_exists(BASE . 'install') && (!isset($config['installed']) || !$config['installed']))
{