mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-25 09:00:27 +00:00
Update ModulesManager.php
This commit is contained in:
parent
886db3aa45
commit
2133e5cb54
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ class ModulesManager
|
|||
public static function getModuleInfo($module)
|
||||
{
|
||||
if (!is_dir(base_path('Modules/' . $module))) {
|
||||
unset($modules[$key]);
|
||||
return [];
|
||||
}
|
||||
$moduleJson = file_get_contents(base_path('Modules/' . $module . '/module.json'));
|
||||
$moduleJson = json_decode($moduleJson, true);
|
||||
|
|
Loading…
Reference in a new issue