summaryrefslogtreecommitdiff
path: root/update_daemon2.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-03-01 10:20:21 +0300
committerAndrew Dolgov <[email protected]>2021-03-01 10:20:21 +0300
commit7ef72fe0dc0f360e04e15a46d137a12a518450b9 (patch)
tree747e88a041915b2d80c219cc0e6b88d1cb7a4767 /update_daemon2.php
parentb05d4e3d9ff2803b28dd68d807b57500f8c3078f (diff)
move startup checks to Config, set a bunch of @deprecated annotations
Diffstat (limited to 'update_daemon2.php')
-rwxr-xr-xupdate_daemon2.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/update_daemon2.php b/update_daemon2.php
index 1e8b1d072..8168c576e 100755
--- a/update_daemon2.php
+++ b/update_daemon2.php
@@ -10,7 +10,8 @@
require_once "autoload.php";
require_once "functions.php";
- require_once "sanity_check.php";
+
+ Config::sanity_check();
if (!function_exists('pcntl_fork')) {
die("error: This script requires PHP compiled with PCNTL module.\n");