mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-10 09:26:29 +00:00
remove duplicated directory separator
The $rootPath property is already initialized with a trailing directory separator in the class constructor.
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user