mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-16 02:34:54 +02:00
Fix apache 500 error on admin
when no config.local.php exist
This commit is contained in:
@@ -1,7 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
// few things we'll need
|
// few things we'll need
|
||||||
require '../common.php';
|
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']))
|
if(file_exists(BASE . 'install') && (!isset($config['installed']) || !$config['installed']))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user