remove duplicated directory separator

The $rootPath property is already initialized with a trailing directory
separator in the class constructor.
This commit is contained in:
Christian Flothmann
2019-02-04 13:03:18 +01:00
parent 3d822167aa
commit edcbcc18ad
+1 -1
View File
@@ -219,7 +219,7 @@ class Twig_Loader_Filesystem implements Twig_LoaderInterface, Twig_ExistsLoaderI
foreach ($this->paths[$namespace] as $path) {
if (!$this->isAbsolutePath($path)) {
$path = $this->rootPath.'/'.$path;
$path = $this->rootPath.$path;
}
if (is_file($path.'/'.$shortname)) {