mirror of
https://github.com/Mibew/handlebars.php.git
synced 2024-11-15 08:44:12 +03:00
another fix :I
This commit is contained in:
parent
ecbfa8f383
commit
e6b4182a75
@ -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), '/'));
|
||||
|
Loading…
Reference in New Issue
Block a user