mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-19 08:01:27 +02:00
Merge remote-tracking branch 'galaxyAbstractor/ticket/11536' into develop-olympus
* galaxyAbstractor/ticket/11536: [ticket/11536] Fixed incorrect removal of "install" in script_path
This commit is contained in:
@@ -1025,8 +1025,8 @@ class install_install extends module
|
||||
}
|
||||
|
||||
// Replace backslashes and doubled slashes (could happen on some proxy setups)
|
||||
$name = str_replace(array('\\', '//', '/install'), '/', $name);
|
||||
$data['script_path'] = trim(dirname($name));
|
||||
$name = str_replace(array('\\', '//'), '/', $name);
|
||||
$data['script_path'] = trim(dirname(dirname($name)));
|
||||
}
|
||||
|
||||
foreach ($this->advanced_config_options as $config_key => $vars)
|
||||
|
Reference in New Issue
Block a user