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

This commit is contained in:
Justin Hileman
2013-08-04 12:07:25 -07:00
+1 -1
View File
@@ -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;
}