summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-17 12:36:27 +0400
committerAndrew Dolgov <[email protected]>2013-04-17 12:36:27 +0400
commit0186be6aebc6479fb0164dd76a0f37919f4819fe (patch)
tree123fea24cc9fba9d3e139a6525ae4322d7d87894 /update.php
parentd1bfb86f9da6fa222c78439bd4df579bee5402a8 (diff)
another take on inclusion of errorhandler in CLI scripts
Diffstat (limited to 'update.php')
-rwxr-xr-xupdate.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/update.php b/update.php
index 23e42a052..d8b956942 100755
--- a/update.php
+++ b/update.php
@@ -88,6 +88,10 @@
return;
}
+ if (!isset($options['daemon'])) {
+ require_once "errorhandler.php";
+ }
+
if (!isset($options['update-schema'])) {
$schema_version = get_schema_version($link);