Merge remote-tracking branch 'mirkolofio/master' into dev
This commit is contained in:
@@ -61,7 +61,7 @@ class Mustache_Autoloader
|
|||||||
return;
|
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)) {
|
if (is_file($file)) {
|
||||||
require $file;
|
require $file;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user