diff --git a/phpBB/phpbb/storage/adapter/local.php b/phpBB/phpbb/storage/adapter/local.php index 1d229abf7b..cdf06176d5 100644 --- a/phpBB/phpbb/storage/adapter/local.php +++ b/phpBB/phpbb/storage/adapter/local.php @@ -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; }