mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-10 03:36:31 +02:00
[ticket/13740] Fix $script_path in obtain_data
PHPBB3-13740
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user