From af486917a1ba96ac6a37faea01a0373642873c08 Mon Sep 17 00:00:00 2001 From: Michael Yoo Date: Tue, 22 Oct 2013 21:26:30 +1030 Subject: [PATCH] Fixed #884 --- src/API/PluginAPI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/API/PluginAPI.php b/src/API/PluginAPI.php index dafac38d6..59707092e 100644 --- a/src/API/PluginAPI.php +++ b/src/API/PluginAPI.php @@ -175,7 +175,7 @@ class PluginAPI extends stdClass{ if($file{0} !== "."){ $ext = strtolower(substr($file, -3)); if($ext === "php" or $ext === "pmf"){ - $this->load($dir . $file); + $this->load($dir->path . $file); } } }