aboutsummaryrefslogtreecommitdiffstats
path: root/include/cli_startup.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-02-05 00:06:35 -0800
committerredmatrix <git@macgirvin.com>2016-02-05 00:06:35 -0800
commitb4e3cd000f9919ce459d32e21e5ca121338a6c24 (patch)
tree81dbf0a6379d4dad677138c230c5f1e2a3819933 /include/cli_startup.php
parent9c3568800cfec34bd24844d0b120a4b195c17e93 (diff)
downloadvolse-hubzilla-b4e3cd000f9919ce459d32e21e5ca121338a6c24.tar.gz
volse-hubzilla-b4e3cd000f9919ce459d32e21e5ca121338a6c24.tar.bz2
volse-hubzilla-b4e3cd000f9919ce459d32e21e5ca121338a6c24.zip
rev update
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);