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:
commit
b75a9dcbe3
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user