aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorOliver Schramm <oliver.schramm97@gmail.com>2017-09-08 15:02:25 +0200
committerOliver Schramm <oliver.schramm97@gmail.com>2017-09-08 15:02:25 +0200
commitb75a9dcbe3393deb226303f9765be7f20851ae3a (patch)
tree016ccc66e013fa2e0e23c152b7f31e906776bb33 /phpBB
parent1095a67a1ba8cf1fd3616196755b535bc5215ee3 (diff)
parent654c2370ea1c62cc610138209018b6d4abc62046 (diff)
downloadforums-b75a9dcbe3393deb226303f9765be7f20851ae3a.tar
forums-b75a9dcbe3393deb226303f9765be7f20851ae3a.tar.gz
forums-b75a9dcbe3393deb226303f9765be7f20851ae3a.tar.bz2
forums-b75a9dcbe3393deb226303f9765be7f20851ae3a.tar.xz
forums-b75a9dcbe3393deb226303f9765be7f20851ae3a.zip
Merge pull request #4936 from marc1706/ticket/7845
[ticket/7845] Ensure config script path is not empty
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/message_parser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/message_parser.php b/phpBB/includes/message_parser.php
index d397c0084e..45f00c9ee1 100644
--- a/phpBB/includes/message_parser.php
+++ b/phpBB/includes/message_parser.php
@@ -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
{