[ticket/13740] Fix $script_path in obtain_data

PHPBB3-13740
This commit is contained in:
Mate Bartus 2015-07-23 23:23:06 +02:00
parent e08f134112
commit 115029b601

View file

@ -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);