Explorar o código

Merge remote-tracking branch 'mirkolofio/master' into dev

Justin Hileman %!s(int64=12) %!d(string=hai) anos
pai
achega
35ad7f961e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Mustache/Autoloader.php

+ 1 - 1
src/Mustache/Autoloader.php

@@ -61,7 +61,7 @@ class Mustache_Autoloader
             return;
         }
 
-        $file = sprintf('%s/%s.php', $this->baseDir, str_replace('_', '/', $class));
+        $file = sprintf('%s/%s.php', realpath($this->baseDir), str_replace('_', '/', $class));
         if (is_file($file)) {
             require $file;
         }