diff --git a/config.php b/config.php
index 79eafde6..ba12e164 100644
--- a/config.php
+++ b/config.php
@@ -231,7 +231,8 @@ $config = array(
'google_analytics_id' => '', // e.g.: UA-XXXXXXX-X
'experiencetable_columns' => 5, // how many columns to display in experience table page. * experiencetable_rows, 5 = 500 (will show up to 500 level)
'experiencetable_rows' => 100, // till how many levels in one column
-
+ 'date_timezone' => 'Europe/Berlin',
+
'monsters' => array(),
'npc' => array()
);
diff --git a/system/init.php b/system/init.php
index 29abf443..d41315ba 100644
--- a/system/init.php
+++ b/system/init.php
@@ -14,6 +14,7 @@ require_once(BASE . 'config.php');
if(file_exists(BASE . 'config.local.php')) // user customizations
require(BASE . 'config.local.php');
+date_default_timezone_set($config['date_timezone']);
// take care of trailing slash at the end
if($config['server_path'][strlen($config['server_path']) - 1] != '/')
$config['server_path'] .= '/';
diff --git a/system/pages/createaccount.php b/system/pages/createaccount.php
index 9a7d34b2..710b46dc 100644
--- a/system/pages/createaccount.php
+++ b/system/pages/createaccount.php
@@ -21,6 +21,7 @@ if($logged)
return;
}
+$errors = array();
$step = isset($_POST['step']) ? $_POST['step'] : '';
if($step == 'save')
{
@@ -250,139 +251,6 @@ If you haven\'t registered on ' . $config['lua']['serverName'] . ' please ignore
}
}
-?>
-
-render('error_box.html.twig', array('errors' => $errors));
-?>
-To play on you need an account.
-All you have to do to create your new account is to enter an account , password and your email address.
-Also you have to agree to the terms presented below. If you have done so, your account will be shown on the following page and your account password will be sent to your email address along with further instructions. If you do not receive the email with your password, please check your spam filter.
-
News archive | +||
+ ![]() |
+ {{ news.date|date('j.n.Y') }} | ++ {{ news.title }} + | +