mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 09:49:22 +02:00
Fix apache 500 error on admin
when no config.local.php exist
This commit is contained in:
parent
6e99c6d41f
commit
83a51eebfb
@ -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']))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user