aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/message_parser.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2017-09-08 11:54:42 +0200
committerMarc Alexander <admin@m-a-styles.de>2017-09-08 11:54:42 +0200
commit654c2370ea1c62cc610138209018b6d4abc62046 (patch)
treea968143ca9e1fa8f61a2480b86c459ffb5a93555 /phpBB/includes/message_parser.php
parent7221a47bb622951c3c81e4537d98357656064b2a (diff)
downloadforums-654c2370ea1c62cc610138209018b6d4abc62046.tar
forums-654c2370ea1c62cc610138209018b6d4abc62046.tar.gz
forums-654c2370ea1c62cc610138209018b6d4abc62046.tar.bz2
forums-654c2370ea1c62cc610138209018b6d4abc62046.tar.xz
forums-654c2370ea1c62cc610138209018b6d4abc62046.zip
[ticket/7845] Ensure config script path is not empty
PHPBB3-7845
Diffstat (limited to 'phpBB/includes/message_parser.php')
-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
{