$disabled = explode(',', $ff->disable? $ff->disable: '');
$pman = $ff->rootDir . '/Pman/';
$ret = array();
- //echo '<PRE>';print_r($enabled);
+ echo '<PRE>';print_r($enabled);exit;
foreach($enabled as $module) {
if (($module == 'Admin') && !$has_admin) {
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);