diff --git a/install.php b/install.php
index 9cbb38e..ca87a3f 100644
--- a/install.php
+++ b/install.php
@@ -66,10 +66,13 @@ if ($action=="config") {
$errors=$errors.$sep_err."3";
$sep_err="|";
}
-
+ $off_r= split("," , $_POST['time_offsets']);
+ $_POST['offset_time'] = $off_r[0];
+ $_POST['offset_city'] = $off_r[1];
+ unset($_POST['time_offsets']);
if (!$errors) {
- if (install_db($_POST['login'], $_POST['password'], $_POST['email'], $_POST['title'], $_POST['description'], $_POST['url_installation'], $_POST['posts_limit'], $_POST['lang'], $_POST['template'], $_POST['website'], $_POST['about'])) {
+ if (install_db($_POST['login'], $_POST['password'], $_POST['email'], $_POST['title'], $_POST['description'], $_POST['url_installation'], $_POST['posts_limit'], $_POST['lang'], $_POST['template'], $_POST['website'], $_POST['about'], $_POST['offset_city'], $_POST['offset_time'])) {
$showForm=false;
} else {
$errors=$errors.$sep_err."6";
@@ -152,7 +155,71 @@ if ($action=="config") {
echo "\n";
}
-?>
+?>
+
+
+
@@ -185,7 +252,7 @@ if ($action=="config") {