mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-20 00:21:42 +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)
|
// Replace backslashes and doubled slashes (could happen on some proxy setups)
|
||||||
$name = str_replace(array('\\', '//', '/install'), '/', $name);
|
$name = str_replace(array('\\', '//'), '/', $name);
|
||||||
$data['script_path'] = trim(dirname($name));
|
$data['script_path'] = trim(dirname(dirname($name)));
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($this->advanced_config_options as $config_key => $vars)
|
foreach ($this->advanced_config_options as $config_key => $vars)
|
||||||
|
Reference in New Issue
Block a user