mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/16052] Fix issues caused by merges
PHPBB3-16052
This commit is contained in:
@@ -172,7 +172,6 @@ acp_group_options_before
|
||||
* Since: 3.1.0-b4
|
||||
* Purpose: Add additional options to group settings (before GROUP_FOUNDER_MANAGE)
|
||||
|
||||
|
||||
acp_groups_find_username_append
|
||||
===
|
||||
* Location: adm/style/acp_groups.html
|
||||
|
@@ -38,7 +38,7 @@ class acp_extensions
|
||||
private $phpbb_container;
|
||||
private $php_ini;
|
||||
|
||||
function main()
|
||||
function main($id, $mode)
|
||||
{
|
||||
// Start the page
|
||||
global $config, $user, $template, $request, $phpbb_extension_manager, $phpbb_root_path, $phpbb_log, $phpbb_dispatcher, $phpbb_container;
|
||||
|
@@ -99,8 +99,8 @@ class session
|
||||
else
|
||||
{
|
||||
// current directory within the phpBB root (for example: adm)
|
||||
$root_dirs = explode('/', str_replace('\\', '/', filesystem_helper::realpath($root_path)));
|
||||
$page_dirs = explode('/', str_replace('\\', '/', filesystem_helper::realpath('./')));
|
||||
$root_dirs = explode('/', str_replace('\\', '/', $phpbb_filesystem->realpath($root_path)));
|
||||
$page_dirs = explode('/', str_replace('\\', '/', $phpbb_filesystem->realpath('./')));
|
||||
}
|
||||
|
||||
$intersection = array_intersect_assoc($root_dirs, $page_dirs);
|
||||
|
Reference in New Issue
Block a user