[ticket/15287] Apply suggested change

PHPBB3-15287
This commit is contained in:
Rubén Calvo 2017-07-19 14:33:35 +02:00
parent af21b8b6c1
commit 5897876f2f

View file

@ -51,7 +51,7 @@ class local implements adapter_interface
{ {
$this->root_path = $this->phpbb_root_path . $options['path']; $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; $this->root_path = $this->root_path . DIRECTORY_SEPARATOR;
} }