Move filelist feature to another file (#1268)

This commit is contained in:
Cønstantine Kovalensky 2023-12-26 20:52:05 +04:00 committed by GitHub
commit ed34bbb735
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 14 deletions

View file

@ -24,7 +24,6 @@ $page_cfg['load_tpl_vars'] = [
];
$newest = $next_topic_id = 0;
$file_list = isset($_GET['filelist']) ? include(INC_DIR . '/file_list_v2.php') : 0;
$start = isset($_GET['start']) ? abs((int)$_GET['start']) : 0;
$topic_id = isset($_GET[POST_TOPIC_URL]) ? (int)$_GET[POST_TOPIC_URL] : 0;
$post_id = (!$topic_id && isset($_GET[POST_POST_URL])) ? (int)$_GET[POST_POST_URL] : 0;