summaryrefslogtreecommitdiff
path: root/update_daemon2.php
diff options
context:
space:
mode:
Diffstat (limited to 'update_daemon2.php')
-rwxr-xr-xupdate_daemon2.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/update_daemon2.php b/update_daemon2.php
index 81734bc3c..9b8a7ad66 100755
--- a/update_daemon2.php
+++ b/update_daemon2.php
@@ -29,6 +29,13 @@
die("error: This script requires PHP compiled with PCNTL module.\n");
}
+ if (!is_array($options)) {
+ die("error: getopt() failed. ".
+ "Most probably you are using PHP CGI to run this script ".
+ "instead of required PHP CLI. Check tt-rss wiki page on updating feeds for ".
+ "additional information.\n");
+ }
+
$master_handlers_installed = false;
$children = array();