Fixed console error 500 when mysql is not running

This commit is contained in:
fermin831 2017-10-24 13:53:06 +02:00
parent 1dd8f630f8
commit 01a106e9f6
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ function db_connect($host = null, $db = null, $user = null, $pass = null, $port
$ownDir = dirname(__FILE__) . DIRECTORY_SEPARATOR;
$config['homedir'] = $ownDir;
$login_screen = 'error_authconfig';
require($config['homedir'] . '/general/error_screen.php');
require($config['homedir'] . '../general/error_screen.php');
exit;
}
else if ($error == 0) {