summaryrefslogtreecommitdiff
path: root/update.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.php
parentb05d4e3d9ff2803b28dd68d807b57500f8c3078f (diff)
move startup checks to Config, set a bunch of @deprecated annotations
Diffstat (limited to 'update.php')
-rwxr-xr-xupdate.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/update.php b/update.php
index 41b052f6e..63700cc0c 100755
--- a/update.php
+++ b/update.php
@@ -9,7 +9,8 @@
require_once "autoload.php";
require_once "functions.php";
- require_once "sanity_check.php";
+
+ Config::sanity_check();
function make_stampfile($filename) {
$fp = fopen(Config::get(Config::LOCK_DIRECTORY) . "/$filename", "w");