mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 06:38:52 +00:00
[ticket/14440] Add comments
PHPBB3-14440
This commit is contained in:
parent
20d85433fc
commit
5557760ecc
1 changed files with 1 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Reference in a new issue