mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/15287] Apply suggested change
PHPBB3-15287
This commit is contained in:
@@ -51,7 +51,7 @@ class local implements adapter_interface
|
||||
{
|
||||
$this->root_path = $this->phpbb_root_path . $options['path'];
|
||||
|
||||
if (substr($this->root_path, -1, 1) != DIRECTORY_SEPARATOR)
|
||||
if (substr($this->root_path, -1, 1) !== DIRECTORY_SEPARATOR)
|
||||
{
|
||||
$this->root_path = $this->root_path . DIRECTORY_SEPARATOR;
|
||||
}
|
||||
|
Reference in New Issue
Block a user