X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Finstall-inc.php;h=9c0a5cf4840523956a4340bafa127139029c9df5;hp=c65b742c04378a3789eef21f64e64437497b073e;hb=e8ca54fe91872ab95a6ffdc4f1268bf18889021d;hpb=27272fdaa3ad8895e6b55ec77658ad5c1f80e89c diff --git a/inc/install-inc.php b/inc/install-inc.php index c65b742c04..9c0a5cf484 100644 --- a/inc/install-inc.php +++ b/inc/install-inc.php @@ -14,8 +14,6 @@ * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * * $Author:: $ * - * Needs to be in all Files and every File needs "svn propset * - * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * * Copyright (c) 2009, 2010 by Mailer Developer Team * @@ -46,6 +44,15 @@ if (!defined('__SECURITY')) { die(); } // END - if +// Load extension timezone +loadExtension('timezone', 'test'); + +// Set config entry +setConfigEntry('timezone', 'Europe/Berlin'); + +// And init timezone +FILTER_INIT_TIMEZONE(); + // Init variables $GLOBALS['install_mysql'] = array(); if ((isPostRequestParameterSet('mysql')) && (is_array(postRequestParameter('mysql')))) { @@ -298,7 +305,7 @@ if ((!isInstalled()) || (!isAdminRegistered())) { default: logDebugMessage(__FILE__, __LINE__, sprintf("Wrong page %s detected", getRequestParameter('page'))); - addTemplateToInstallContent('admin_settings_saved', '
{--WRONG_PAGE--}
'); + addTemplateToInstallContent('admin_settings_unsaved', '{--WRONG_PAGE--}'); break; } // END - switch } else {