mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/11139] Adding the $phpbb_admin_path variable
PHPBB3-11139
This commit is contained in:
@@ -21,6 +21,8 @@ $user->session_begin(false);
|
||||
$auth->acl($user->data);
|
||||
$user->setup();
|
||||
|
||||
$phpbb_admin_path = (defined('PHPBB_ADMIN_PATH')) ? PHPBB_ADMIN_PATH : './';
|
||||
|
||||
// Set custom template for admin area
|
||||
$phpbb_style->set_custom_style('admin', $phpbb_admin_path . 'style', '');
|
||||
|
||||
|
Reference in New Issue
Block a user