diff --git a/extend/catcher/CatchAdmin.php b/extend/catcher/CatchAdmin.php index f786207..28f9191 100644 --- a/extend/catcher/CatchAdmin.php +++ b/extend/catcher/CatchAdmin.php @@ -205,8 +205,8 @@ class CatchAdmin */ public static function getModuleInfo($module) { - if (file_exists($module . DIRECTORY_SEPARATOR . 'module.json')) { - return \json_decode(file_get_contents($module . DIRECTORY_SEPARATOR . 'module.json'), true); + if (file_exists(self::moduleDirectory($module) . DIRECTORY_SEPARATOR . 'module.json')) { + return \json_decode(file_get_contents(self::moduleDirectory($module) . DIRECTORY_SEPARATOR . 'module.json'), true); } return [];