mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/11139] Adding the $phpbb_admin_path variable
PHPBB3-11139
This commit is contained in:
parent
5db30e66fd
commit
571d352eed
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,8 @@ $user->session_begin(false);
|
||||||
$auth->acl($user->data);
|
$auth->acl($user->data);
|
||||||
$user->setup();
|
$user->setup();
|
||||||
|
|
||||||
|
$phpbb_admin_path = (defined('PHPBB_ADMIN_PATH')) ? PHPBB_ADMIN_PATH : './';
|
||||||
|
|
||||||
// Set custom template for admin area
|
// Set custom template for admin area
|
||||||
$phpbb_style->set_custom_style('admin', $phpbb_admin_path . 'style', '');
|
$phpbb_style->set_custom_style('admin', $phpbb_admin_path . 'style', '');
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue