aboutsummaryrefslogtreecommitdiffstats
path: root/include/cli_startup.php
diff options
context:
space:
mode:
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);