aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/conf/common.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--conf/common.inc.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/conf/common.inc.php b/conf/common.inc.php
index 506134d..07a7475 100644
--- a/conf/common.inc.php
+++ b/conf/common.inc.php
@@ -2,9 +2,6 @@
2 2
3require_once 'config.php'; 3require_once 'config.php';
4 4
5$CONFIG['webdir'] = preg_replace('/\/[a-z\.]+$/', '', $_SERVER['SCRIPT_FILENAME']);
6$CONFIG['weburl'] = preg_replace('/(?<=\/)[a-z\.]+$/', '', $_SERVER['SCRIPT_NAME']);
7
8if (!ini_get('date.timezone')) { 5if (!ini_get('date.timezone')) {
9 date_default_timezone_set($CONFIG['default_timezone']); 6 date_default_timezone_set($CONFIG['default_timezone']);
10} 7}