mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
[ticket/13740] Fix $script_path in obtain_data
PHPBB3-13740
This commit is contained in:
parent
e08f134112
commit
115029b601
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ class obtain_server_data extends \phpbb\install\task_base implements \phpbb\inst
|
|||
}
|
||||
|
||||
$script_path = str_replace(array('\\', '//'), '/', $script_path);
|
||||
$script_path = trim(dirname(dirname($script_path)));
|
||||
$script_path = trim(dirname(dirname(dirname($script_path)))); // Because we are in install/app.php/route_name
|
||||
|
||||
// Server data
|
||||
$cookie_secure = $this->io_handler->get_input('cookie_secure', $cookie_secure);
|
||||
|
|
Loading…
Add table
Reference in a new issue