1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 03:35:55 +00:00

move dbupdater to db/updater; move base SCHEMA_VERSION constant inside db/updater class

This commit is contained in:
Andrew Dolgov
2021-03-02 15:03:01 +03:00
parent 86b12fc06c
commit d6629ed188
10 changed files with 31 additions and 30 deletions

View File

@@ -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);
}