Ver código fonte

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

Justin Hileman 12 anos atrás
pai
commit
35ad7f961e
1 arquivos alterados com 1 adições e 1 exclusões
  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;
         }