aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-06-11 19:52:46 -0700
committerfriendica <info@friendica.com>2012-06-11 19:52:46 -0700
commit30295926b9f34fa08a2c0ae6d68c2eade5ed8ec8 (patch)
treec63d2b4706025c2d730f0e052cf23dcd2d6047ea /index.php
parent24e85c95b66dac2bd046ebec5c90bb7f2e2de0b8 (diff)
downloadvolse-hubzilla-30295926b9f34fa08a2c0ae6d68c2eade5ed8ec8.tar.gz
volse-hubzilla-30295926b9f34fa08a2c0ae6d68c2eade5ed8ec8.tar.bz2
volse-hubzilla-30295926b9f34fa08a2c0ae6d68c2eade5ed8ec8.zip
make sure default timezone is set in external processes
Diffstat (limited to 'index.php')
-rw-r--r--index.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/index.php b/index.php
index 94329eedc..6967d0f31 100644
--- a/index.php
+++ b/index.php
@@ -59,8 +59,7 @@ if(! $install) {
/**
*
* Important stuff we always need to do.
- * Initialise authentication and date and time.
- * Create the HTML head for the page, even if we may not use it (xml, etc.)
+ *
* The order of these may be important so use caution if you think they're all
* intertwingled with no logical order and decide to sort it out. Some of the
* dependencies have changed, but at least at one time in the recent past - the
@@ -68,12 +67,6 @@ if(! $install) {
*
*/
-require_once("datetime.php");
-
-$a->timezone = (($default_timezone) ? $default_timezone : 'UTC');
-
-date_default_timezone_set($a->timezone);
-
session_start();
/**