diff --git a/CHANGELOG.md b/CHANGELOG.md index 12a27df7..bd42f769 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ **Merged pull requests:** - Release v2.1.5-2023.10 🎉 -- Minor improvements [\#297](https://github.com/torrentpier/torrentpier-lts/pull/297), [\#298](https://github.com/torrentpier/torrentpier-lts/pull/298), [\#300](https://github.com/torrentpier/torrentpier-lts/pull/300), [\#301](https://github.com/torrentpier/torrentpier-lts/pull/301), [\#302](https://github.com/torrentpier/torrentpier-lts/pull/302), [\#303](https://github.com/torrentpier/torrentpier-lts/pull/303), [\#304](https://github.com/torrentpier/torrentpier-lts/pull/304), [\#305](https://github.com/torrentpier/torrentpier-lts/pull/305), [\#306](https://github.com/torrentpier/torrentpier-lts/pull/306) ([belomaxorka](https://github.com/belomaxorka)) +- Minor improvements [\#297](https://github.com/torrentpier/torrentpier-lts/pull/297), [\#298](https://github.com/torrentpier/torrentpier-lts/pull/298), [\#300](https://github.com/torrentpier/torrentpier-lts/pull/300), [\#301](https://github.com/torrentpier/torrentpier-lts/pull/301), [\#302](https://github.com/torrentpier/torrentpier-lts/pull/302), [\#303](https://github.com/torrentpier/torrentpier-lts/pull/303), [\#304](https://github.com/torrentpier/torrentpier-lts/pull/304), [\#305](https://github.com/torrentpier/torrentpier-lts/pull/305), [\#306](https://github.com/torrentpier/torrentpier-lts/pull/306), [\#307](https://github.com/torrentpier/torrentpier-lts/pull/307) ([belomaxorka](https://github.com/belomaxorka)) ## [v2.1.5-2023.09](https://github.com/torrentpier/torrentpier-lts/tree/v2.1.5-2023.09) (2023-10-04) [Full Changelog](https://github.com/torrentpier/torrentpier-lts/compare/v2.1.5-2023.08-HotFix...v2.1.5-2023.09) diff --git a/admin/admin_bt_tracker_cfg.php b/admin/admin_bt_tracker_cfg.php index 549a84ee..21f1e97c 100644 --- a/admin/admin_bt_tracker_cfg.php +++ b/admin/admin_bt_tracker_cfg.php @@ -7,7 +7,7 @@ } require('./pagestart.php'); -if (!IS_SUPER_ADMIN) bb_die($lang['NOT_ADMIN']); +if (!IS_SUPER_ADMIN) bb_die($lang['ONLY_FOR_SUPER_ADMIN']); require(INC_DIR .'functions_admin_torrent.php'); @@ -61,4 +61,4 @@ 'S_CONFIG_ACTION' => 'admin_bt_tracker_cfg.php', )); -print_page('admin_bt_tracker_cfg.tpl', 'admin'); \ No newline at end of file +print_page('admin_bt_tracker_cfg.tpl', 'admin'); diff --git a/admin/admin_cron.php b/admin/admin_cron.php index fe4bdd4e..81e0c3ca 100644 --- a/admin/admin_cron.php +++ b/admin/admin_cron.php @@ -21,7 +21,7 @@ } else require('./pagestart.php'); -if (!IS_SUPER_ADMIN) bb_die($lang['NOT_ADMIN']); +if (!IS_SUPER_ADMIN) bb_die($lang['ONLY_FOR_SUPER_ADMIN']); require(INC_DIR .'functions_admin_torrent.php'); require(INC_DIR .'functions_admin_cron.php'); @@ -225,4 +225,4 @@ } } -print_page('admin_cron.tpl', 'admin'); \ No newline at end of file +print_page('admin_cron.tpl', 'admin'); diff --git a/admin/admin_rebuild_search.php b/admin/admin_rebuild_search.php index 2676bc56..e37e37ab 100644 --- a/admin/admin_rebuild_search.php +++ b/admin/admin_rebuild_search.php @@ -7,7 +7,7 @@ } require('./pagestart.php'); -if (!IS_SUPER_ADMIN) bb_die($lang['NOT_ADMIN']); +if (!IS_SUPER_ADMIN) bb_die($lang['ONLY_FOR_SUPER_ADMIN']); require(INC_DIR .'bbcode.php'); diff --git a/library/ajax/topic_tpl.php b/library/ajax/topic_tpl.php index b9fd182e..bb774881 100644 --- a/library/ajax/topic_tpl.php +++ b/library/ajax/topic_tpl.php @@ -4,7 +4,7 @@ global $userdata, $lang; -if (!IS_SUPER_ADMIN) $this->ajax_die($lang['NOT_AUTHORISED']); +if (!IS_SUPER_ADMIN) $this->ajax_die($lang['ONLY_FOR_SUPER_ADMIN']); array_deep($this->request, 'trim');