X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Finstall-inc.php;h=a4288ac58035d5e2cec6dcc726b0a78f3a5d4d13;hp=0b8928b27ce1bfc126c2da8a6c11284b2f161d04;hb=ff6e1b8fc739109c5e07413377268231f7a7c50d;hpb=5c8a9ba30d1aaa13a6f18c51548a4d3f2c25326e diff --git a/inc/install-inc.php b/inc/install-inc.php index 0b8928b27c..a4288ac580 100644 --- a/inc/install-inc.php +++ b/inc/install-inc.php @@ -193,6 +193,7 @@ if ((!isInstalled()) || (!isAdminRegistered())) { initSqls(); // Connect to MySQL server + restore_error_handler(); SQL_CONNECT($GLOBALS['install_mysql']['host'], $GLOBALS['install_mysql']['login'], $GLOBALS['install_mysql']['pass1'], __FILE__, __LINE__); // Is the link up? @@ -267,6 +268,9 @@ if ((!isInstalled()) || (!isAdminRegistered())) { // Load template addTemplateToInstallContent('install_fatal_errors', $content); + + // We have handled all fatal errors here + initFatalMessages(); } else { // Installation is done! redirectToUrl('install.php?page=finished');