2) && (argv(2) == 'load')) ? 1 : 0); $mod = new $module; // Set the state flags of the relevant module (only conversational // modules support state flags if (isset($mod->profile_uid)) { $mod->profile_uid = $profile_uid; } if (isset($mod->updating)) { $mod->updating = 1; } if (isset($mod->loading)) { $mod->loading = 1; } header("Content-type: text/html"); // Modify the argument parameters to match what the new controller // expects. They are currently set to what this controller expects. App::$argv = [ argv(1) ]; App::$argc = 1; echo "
\r\n"; echo $mod->get(); echo "
\r\n"; killme(); } }