change special section permission deny notice text

This commit is contained in:
xiaomlove
2021-06-16 00:00:11 +08:00
parent db59e93eb2
commit 00930a8386
2 changed files with 9 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
require_once("../include/bittorrent.php");
dbconn(true);
require_once(get_langfile_path('torrents.php'));
require_once(get_langfile_path('speical.php'));
loggedinorreturn();
parked();
@@ -15,7 +16,7 @@ switch (CURRENT_SCRIPT) {
httperr();
}
if (get_user_class() < get_setting('authority.view_special_torrent')) {
permissiondenied();
stderr($lang_special['std_sorry'],$lang_special['std_permission_denied_only'].get_user_class_name(get_setting('authority.view_special_torrent'),false,true,true).$lang_special['std_or_above_can_view'],false);
}
$sectiontype = $specialcatmode;
break;