aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Darricau <tristan.darricau@sensiolabs.com>2016-02-11 22:18:09 +0100
committerTristan Darricau <tristan.darricau@sensiolabs.com>2016-02-11 22:18:09 +0100
commit5557760eccab67515990622471bd5de297e40f1e (patch)
treeddfadb6f927e1965b919baa994028b3da033ea9c
parent20d85433fcba5dd892a7f82b8be2bac34546536f (diff)
downloadforums-5557760eccab67515990622471bd5de297e40f1e.tar
forums-5557760eccab67515990622471bd5de297e40f1e.tar.gz
forums-5557760eccab67515990622471bd5de297e40f1e.tar.bz2
forums-5557760eccab67515990622471bd5de297e40f1e.tar.xz
forums-5557760eccab67515990622471bd5de297e40f1e.zip
[ticket/14440] Add comments
PHPBB3-14440
-rw-r--r--phpBB/phpbb/path_helper.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/phpbb/path_helper.php b/phpBB/phpbb/path_helper.php
index c5e006120a..154361ef64 100644
--- a/phpBB/phpbb/path_helper.php
+++ b/phpBB/phpbb/path_helper.php
@@ -102,6 +102,7 @@ class path_helper
{
$web_root_path = $this->get_web_root_path();
+ // Removes the web root path if it is already present
if (strpos($path, $web_root_path) === 0)
{
$path = $this->phpbb_root_path . substr($path, strlen($web_root_path));