diff options
author | Andrew Dolgov <[email protected]> | 2021-03-02 15:03:01 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-03-02 15:03:01 +0300 |
commit | d6629ed18863f797d34ebdc65815d7af21cb8332 (patch) | |
tree | a72a114c576f2aa15710d18a8090a9bced9c56ba /include/functions.php | |
parent | 86b12fc06c33fe742ac4035a031716674bdb6462 (diff) |
move dbupdater to db/updater; move base SCHEMA_VERSION constant inside db/updater class
Diffstat (limited to 'include/functions.php')
-rw-r--r-- | include/functions.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/functions.php b/include/functions.php index ce6b48181..4d11ea31f 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1,9 +1,10 @@ <?php - define('SCHEMA_VERSION', 142); - define('LABEL_BASE_INDEX', -1024); define('PLUGIN_FEED_BASE_INDEX', -128); + /** constant is @deprecated, use Db_Updater::SCHEMA_VERSION instead */ + define('SCHEMA_VERSION', Db_Updater::SCHEMA_VERSION); + if (version_compare(PHP_VERSION, '8.0.0', '<')) { libxml_disable_entity_loader(true); } |