diff --git a/CHANGELOG.md b/CHANGELOG.md index 3368c57e..5c2bde70 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,5 @@ # 📖 Change Log -## [v2.1.5-2023.08](https://github.com/torrentpier/torrentpier-lts/tree/v2.1.5-2023.08) (2023-09-04) (В разработке) -[Full Changelog](https://github.com/torrentpier/torrentpier-lts/compare/v2.1.5-2023.07...v2.1.5-2023.08) - -**Merged pull requests:** - -- Release v2.1.5-2023.08 🎉 -- Added polyfills [\#214](https://github.com/torrentpier/torrentpier-lts/pull/214) ([belomaxorka](https://github.com/belomaxorka)) - ## [v2.1.5-2023.07](https://github.com/torrentpier/torrentpier-lts/tree/v2.1.5-2023.07) (2023-08-04) [Full Changelog](https://github.com/torrentpier/torrentpier-lts/compare/v2.1.5-2023.06...v2.1.5-2023.07) diff --git a/common.php b/common.php index 8dba4191..d43e41b6 100644 --- a/common.php +++ b/common.php @@ -28,9 +28,6 @@ if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) // Get initial config require(BB_ROOT . 'library/config.php'); -// Load polyfills -require(BB_ROOT . 'library/includes/polyfills.php'); - // Load Zend Framework use Zend\Loader\StandardAutoloader; require(BB_ROOT . 'library/Zend/Loader/StandardAutoloader.php'); @@ -74,6 +71,11 @@ define('TOR_TYPE_SILVER', 2); define('GUEST_UID', -1); define('BOT_UID', -746); +function sqlite3_escape_string ($str) +{ + return SQLite3::escapeString($str); +} + /** * Database */ diff --git a/library/config.php b/library/config.php index 29e6542f..ed75af0a 100644 --- a/library/config.php +++ b/library/config.php @@ -15,8 +15,8 @@ $domain_name = (!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : $do $domain_ssl = false; // Version info -$bb_cfg['tp_version'] = '2.1.5-2023.08'; -$bb_cfg['tp_release_date'] = '04-09-2023'; +$bb_cfg['tp_version'] = '2.1.5-2023.07'; +$bb_cfg['tp_release_date'] = '04-08-2023'; $bb_cfg['tp_release_state'] = 'LTS'; $bb_cfg['tp_zf_version'] = '2.4.13'; diff --git a/library/includes/polyfills.php b/library/includes/polyfills.php deleted file mode 100644 index 52769922..00000000 --- a/library/includes/polyfills.php +++ /dev/null @@ -1,59 +0,0 @@ -