aboutsummaryrefslogtreecommitdiffstats
path: root/include/cli_startup.php
diff options
context:
space:
mode:
authorHaakon Meland Eriksen <haakon.eriksen@far.no>2016-02-06 12:57:25 +0100
committerHaakon Meland Eriksen <haakon.eriksen@far.no>2016-02-06 12:57:25 +0100
commit2935c5fe1ad7999d6abf527bfc8e8d353ceb9d32 (patch)
tree6935173702da59826d6c7577a927d96a57bc4478 /include/cli_startup.php
parent2afdba48f06bb99922c19bf964d8f601c1545166 (diff)
parent021584d782c5bfafaa5ffe26d0c5850c8fffdd8f (diff)
downloadvolse-hubzilla-2935c5fe1ad7999d6abf527bfc8e8d353ceb9d32.tar.gz
volse-hubzilla-2935c5fe1ad7999d6abf527bfc8e8d353ceb9d32.tar.bz2
volse-hubzilla-2935c5fe1ad7999d6abf527bfc8e8d353ceb9d32.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'include/cli_startup.php')
-rw-r--r--include/cli_startup.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/cli_startup.php b/include/cli_startup.php
index 027d62953..70ab1a24a 100644
--- a/include/cli_startup.php
+++ b/include/cli_startup.php
@@ -15,6 +15,9 @@ function cli_startup() {
if(is_null($db)) {
@include(".htconfig.php");
+ if(! defined('UNO'))
+ define('UNO', 0);
+
$a->timezone = ((x($default_timezone)) ? $default_timezone : 'UTC');
date_default_timezone_set($a->timezone);