mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Fixed console error 500 when mysql is not running
This commit is contained in:
parent
1dd8f630f8
commit
01a106e9f6
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user