mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
[ticket/7845] Ensure config script path is not empty
PHPBB3-7845
This commit is contained in:
parent
7221a47bb6
commit
654c2370ea
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue