This commit is contained in:
Michael Yoo 2013-10-22 21:26:30 +10:30
parent c197a58a3a
commit af486917a1

View File

@ -175,7 +175,7 @@ class PluginAPI extends stdClass{
if($file{0} !== "."){ if($file{0} !== "."){
$ext = strtolower(substr($file, -3)); $ext = strtolower(substr($file, -3));
if($ext === "php" or $ext === "pmf"){ if($ext === "php" or $ext === "pmf"){
$this->load($dir . $file); $this->load($dir->path . $file);
} }
} }
} }