|
@@ -49,7 +49,7 @@ class Mustache_Loader_FilesystemLoader implements Mustache_Loader
|
|
|
{
|
|
{
|
|
|
$this->baseDir = $baseDir;
|
|
$this->baseDir = $baseDir;
|
|
|
|
|
|
|
|
- if ( strpos( $this->baseDir, '://' ) === -1 ) {
|
|
|
|
|
|
|
+ if (strpos( $this->baseDir, '://' ) === -1) {
|
|
|
$this->baseDir = rtrim(realpath($this->baseDir), '/');
|
|
$this->baseDir = rtrim(realpath($this->baseDir), '/');
|
|
|
}
|
|
}
|
|
|
|
|
|