mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Split functions to the composer autoloading
Signed-off-by: Yuriy Pikhtarev <iglix@me.com>
This commit is contained in:
parent
6aae72b836
commit
83ca67fae6
75 changed files with 3612 additions and 3184 deletions
|
@ -10,7 +10,6 @@
|
|||
define('BB_SCRIPT', 'group_edit');
|
||||
define('BB_ROOT', './');
|
||||
require __DIR__ . '/common.php';
|
||||
require INC_DIR . '/functions_group.php';
|
||||
|
||||
$page_cfg['include_bbcode_js'] = true;
|
||||
|
||||
|
@ -24,7 +23,7 @@ $is_moderator = false;
|
|||
$submit = !empty($_POST['submit']);
|
||||
|
||||
if ($group_id) {
|
||||
if (!$group_info = get_group_data($group_id)) {
|
||||
if (!$group_info = \TorrentPier\Legacy\Group::get_group_data($group_id)) {
|
||||
bb_die($lang['GROUP_NOT_EXIST']);
|
||||
}
|
||||
if (!$group_info['group_id'] || !$group_info['group_moderator'] || !$group_info['moderator_name']) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue