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:
vgilc 2017-11-29 16:54:58 +01:00
commit 55e93d8fc9
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) {