diff options
| author | Oliver Schramm <oliver.schramm97@gmail.com> | 2017-09-08 15:02:25 +0200 |
|---|---|---|
| committer | Oliver Schramm <oliver.schramm97@gmail.com> | 2017-09-08 15:02:25 +0200 |
| commit | b75a9dcbe3393deb226303f9765be7f20851ae3a (patch) | |
| tree | 016ccc66e013fa2e0e23c152b7f31e906776bb33 /phpBB | |
| parent | 1095a67a1ba8cf1fd3616196755b535bc5215ee3 (diff) | |
| parent | 654c2370ea1c62cc610138209018b6d4abc62046 (diff) | |
| download | forums-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.php | 2 |
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 { |
