another fix :I

This commit is contained in:
fzerorubigd 2013-03-18 23:55:37 +03:30
parent ecbfa8f383
commit e6b4182a75
No known key found for this signature in database
GPG Key ID: D6EE858AF9D2999A

View File

@ -52,7 +52,7 @@ class Handlebars_Loader_FilesystemLoader implements Handlebars_Loader
public function __construct($baseDirs, array $options = array())
{
if (is_string($baseDirs)) {
$baseDirs = array(rtrim(realpath($baseDir), '/'));
$baseDirs = array(rtrim(realpath($baseDirs), '/'));
} else {
foreach ($baseDirs as &$dir) {
$dir = array(rtrim(realpath($dir), '/'));