1
1
Fork 0

make sure default timezone is set in external processes

This commit is contained in:
friendica 2012-06-11 19:52:46 -07:00
commit 30295926b9
3 changed files with 9 additions and 9 deletions

View file

@ -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();
/**