[ticket/7845] Ensure config script path is not empty

PHPBB3-7845
This commit is contained in:
Marc Alexander 2017-09-08 11:54:42 +02:00
parent 7221a47bb6
commit 654c2370ea
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -1072,7 +1072,7 @@ class bbcode_firstpass extends bbcode
if ($config['force_server_vars']) if ($config['force_server_vars'])
{ {
$check_path = $config['script_path']; $check_path = !empty($config['script_path']) ? $config['script_path'] : '/';
} }
else else
{ {