mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 21:19:44 +00:00
Fixed #884
This commit is contained in:
parent
c197a58a3a
commit
af486917a1
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue