From aa78fde6a92f66b84d626e114d8b54a5fb6ece0c Mon Sep 17 00:00:00 2001
From: ftimme <ft@falkotimme.com>
Date: Wed, 14 Nov 2012 07:19:43 -0500
Subject: [PATCH] - Added function for IPv6 prefixes in multiserver mirror setups to nginx plugin.

---
 install/install.php |   11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)

diff --git a/install/install.php b/install/install.php
index 918526d..a3b5708 100644
--- a/install/install.php
+++ b/install/install.php
@@ -104,16 +104,7 @@
 
 //** Select the language and set default timezone
 $conf['language'] = $inst->simple_query('Select language', array('en','de'), 'en');
-
-exec('date +%z', $tmp_out);
-$tmp_zone = intval($tmp_out[0]);
-if(substr($tmp_out[0],0,1) == '+') {
-	$conf['timezone'] = 'Etc/GMT+'.$tmp_zone;
-} else {
-	$conf['timezone'] = 'Etc/GMT-'.$tmp_zone;
-}
-unset($tmp_out);
-unset($tmp_zone);
+$conf['timezone'] = get_system_timezone();
 
 //* Set defaukt theme
 $conf['theme'] = 'default';

--
Gitblit v1.9.1