get_avail_json(); } elseif ($action === 'get_enabled_apps') { $apps = new \CAI\CAICP\Applications(CP_ROOT_REL); echo $apps->get_enabled_json(); }