diff options
author | TheTroll <trolldev@gmail.com> | 2010-04-04 20:56:42 +0200 |
---|---|---|
committer | TheTroll <trolldev@gmail.com> | 2010-04-04 20:56:42 +0200 |
commit | 5604f4b4f166783e28b4750c7793a9711a20603c (patch) | |
tree | 81b8db58465b498eb48586ce42750dd6cd4cf27d | |
parent | 69d41b5e3d08a08e414c974730d3f6b2b9b7d21f (diff) | |
download | istreamdev-5604f4b4f166783e28b4750c7793a9711a20603c.tar.gz istreamdev-5604f4b4f166783e28b4750c7793a9711a20603c.tar.bz2 |
Fixed date warning
-rw-r--r-- | bin/backend.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/backend.php b/bin/backend.php index 9d00294..0eedc2b 100644 --- a/bin/backend.php +++ b/bin/backend.php @@ -8,7 +8,7 @@ if (function_exists('dl')) if (!extension_loaded('zlib')) dl(zlib.so); } -ob_start(); +ob_start(); header('Content-Type: application/json; charset: utf-8'); header('Content-Encoding: gzip'); @@ -27,6 +27,9 @@ include ('./vdr.php'); include ('./session.php'); include ('./jsonapi.php'); +// Set timezone +date_default_timezone_set(date_default_timezone_get()); + $action=$_REQUEST['action']; addlog("Executing action [" .$action ."]"); |