Merge branch 'ent-1418-error-cuando-mysql-no-esta-levantado' into 'develop'
Fixed console error 500 when mysql is not running See merge request artica/pandorafms!959
This commit is contained in:
commit
55e93d8fc9
|
@ -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…
Reference in New Issue