aboutsummaryrefslogtreecommitdiffstats
path: root/include/notifier.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/notifier.php')
-rw-r--r--include/notifier.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/notifier.php b/include/notifier.php
index dcc772454..149ce765c 100644
--- a/include/notifier.php
+++ b/include/notifier.php
@@ -1,21 +1,21 @@
<?php
-$debugging = false;
+ $debugging = false;
-require_once("boot.php");
+ require_once("boot.php");
-$a = new App;
+ $a = new App;
-@include(".htconfig.php");
-require_once("dba.php");
-$db = new dba($db_host, $db_user, $db_pass, $db_data, $install);
- unset($db_host, $db_user, $db_pass, $db_data);
+ @include(".htconfig.php");
+ require_once("dba.php");
+ $db = new dba($db_host, $db_user, $db_pass, $db_data, $install);
+ unset($db_host, $db_user, $db_pass, $db_data);
-require_once("session.php");
-require_once("datetime.php");
+ require_once("session.php");
+ require_once("datetime.php");
-if($argc < 2)
- exit;
+ if($argc < 3)
+ exit;
$a->set_baseurl(get_config('system',url'));