if (($module == 'Admin') && !$has_admin) {
continue;
}
- continue;
+
$fn = $pman. $module. '/'.$module. '.perms.json';
if (!file_exists($fn)) {
continue;
}
$ar = (array)json_decode(file_get_contents($fn));
+ print_R($ar);exit;
if (empty($ar)) {
// since these are critical files.. die'ing with error is ok.
die("invalid json file: " . $fn);