X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Finstall-inc.php;h=18af33b97dc2d136af0e86564ce398ec2efe379f;hb=f5e6525055dac9e6c23e4a1d7bb55b507329502e;hp=84fdb9b3d241ef7566b42b04c35c29936f1867d1;hpb=b07f7e44eb7441841763058e598a25067e13cee8;p=mailer.git diff --git a/inc/install-inc.php b/inc/install-inc.php index 84fdb9b3d2..18af33b97d 100644 --- a/inc/install-inc.php +++ b/inc/install-inc.php @@ -51,7 +51,7 @@ loadExtension('timezone', 'test'); setConfigEntry('timezone', 'Europe/Berlin'); // And init timezone -FILTER_INIT_TIMEZONE(); +FILTER_INIT_TIMEZONE(array()); // Init variables $GLOBALS['install_mysql'] = array(); @@ -200,9 +200,11 @@ if ((!isInstalled()) || (!isAdminRegistered())) { // You have submitted data then we have to reset the SQLs initSqls(); - // Restore PHPs error handler to prevent ours to handle errors, - // e.g. failed connection attempts. We want to handle them on - // our own. + /* + * Restore PHPs error handler to prevent ours to handle errors, + * e.g. failed connection attempts. We want to handle them on + * our own. + */ restore_error_handler(); // Connect to database server @@ -215,7 +217,7 @@ if ((!isInstalled()) || (!isAdminRegistered())) { // Check for dumps if ((!isFileReadable(postRequestParameter('spath') . 'install/tables.sql')) || (!isFileReadable(postRequestParameter('spath') . 'install/menu-'.getLanguage().'.sql'))) { // Installation area not found - addFatalMessage(__FILE__, __LINE__, '{--INSTALL_MISSING_DUMPS--}'); + debug_report_bug(__FILE__, __LINE__, 'SQL dumps not found. Please extract ALL files from the archive or checkout all files out from SVN.'); return; } // END - if