]> git.mxchange.org Git - mailer.git/blobdiff - inc/install-inc.php
A lot CSS classes rewritten, please update all your themes.
[mailer.git] / inc / install-inc.php
index c65b742c04378a3789eef21f64e64437497b073e..5a93e2d0e798eddb84a44d54c8023aa66d549b4d 100644 (file)
@@ -46,6 +46,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 +307,7 @@ if ((!isInstalled()) || (!isAdminRegistered())) {
 
                default:
                        logDebugMessage(__FILE__, __LINE__, sprintf("Wrong page %s detected", getRequestParameter('page')));
-                       addTemplateToInstallContent('admin_settings_saved', '<div class="install_error">{--WRONG_PAGE--}</div>');
+                       addTemplateToInstallContent('admin_settings_unsaved', '{--WRONG_PAGE--}');
                        break;
        } // END - switch
 } else {