mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-25 04:23:38 +01:00
[ticket/14440] Add comments
PHPBB3-14440
This commit is contained in:
parent
20d85433fc
commit
5557760ecc
@ -102,6 +102,7 @@ class path_helper
|
|||||||
{
|
{
|
||||||
$web_root_path = $this->get_web_root_path();
|
$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)
|
if (strpos($path, $web_root_path) === 0)
|
||||||
{
|
{
|
||||||
$path = $this->phpbb_root_path . substr($path, strlen($web_root_path));
|
$path = $this->phpbb_root_path . substr($path, strlen($web_root_path));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user