mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-08 08:49:14 +00:00
update_daemon2: don't expect client part to be executable
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
// define('DEFAULT_ERROR_LEVEL', E_ALL);
|
||||
define('DEFAULT_ERROR_LEVEL', E_ERROR | E_WARNING | E_PARSE);
|
||||
|
||||
$start_timestamp = time();
|
||||
|
||||
if ($argv[1] != "SRV_RUN_OK") {
|
||||
die("This script should be started by update_daemon2.php.\n");
|
||||
}
|
||||
@@ -156,5 +158,7 @@
|
||||
|
||||
if (DAEMON_SENDS_DIGESTS) send_headlines_digests($link);
|
||||
|
||||
print "Elapsed time: " . (time() - $start_timestamp) . " second(s)\n";
|
||||
|
||||
db_close($link);
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user