1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-22 16:40:21 +01:00

Merge pull request #4936 from marc1706/ticket/7845

[ticket/7845] Ensure config script path is not empty
This commit is contained in:
Oliver Schramm 2017-09-08 15:02:25 +02:00
commit b75a9dcbe3

View File

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