case "download": require _QUIXPLORER_PATH . "/include/fun_down.php"; @ob_end_clean(); // get rid of cached unwanted output download_item($dir, $item); ob_start(false); // prevent unwanted output exit; break; //------------------------------------------------------------------------------ // UPLOAD FILE(S) //------------------------------------------------------------------------------ // UPLOAD FILE(S) case "upload": require _QUIXPLORER_PATH . "/include/fun_up.php"; upload_items($dir); break; //------------------------------------------------------------------------------ // CREATE DIR/FILE //------------------------------------------------------------------------------ // CREATE DIR/FILE case "mkitem": require _QUIXPLORER_PATH . "/include/fun_mkitem.php"; make_item($dir); break; //------------------------------------------------------------------------------ // CHMOD FILE/DIR //------------------------------------------------------------------------------ // CHMOD FILE/DIR case "chmod": require _QUIXPLORER_PATH . "/include/fun_chmod.php";
// prevent unwanted output require "./.include/fun_down.php"; ob_end_clean(); // get rid of cached unwanted output download_item($GLOBALS["dir"], $GLOBALS["item"]); ob_start(false); // prevent unwanted output exit; break; //------------------------------------------------------------------------------ // UPLOAD FILE(S) //------------------------------------------------------------------------------ // UPLOAD FILE(S) case "upload": require "./.include/fun_up.php"; upload_items($GLOBALS["dir"]); break; //------------------------------------------------------------------------------ // CREATE DIR/FILE //------------------------------------------------------------------------------ // CREATE DIR/FILE case "mkitem": require "./.include/fun_mkitem.php"; make_item($GLOBALS["dir"]); break; //------------------------------------------------------------------------------ // CHMOD FILE/DIR //------------------------------------------------------------------------------ // CHMOD FILE/DIR case "chmod": require "./.include/fun_chmod.php";
*/ case "upload": $uploader = isset($GLOBALS["uploader"]) ? $GLOBALS["uploader"] : "default"; switch ($uploader) { case "uploadify": require "./_include/fun_up_uploadify.php"; break; case "ajaxupload": require "./_include/fun_up_ajaxupload.php"; break; case "default": default: require "./_include/fun_up.php"; break; } upload_items($current_dir); break; //------------------------------------------------------------------------------ // UNZIP ZIP FILE added by laurenceHR //------------------------------------------------------------------------------ // UNZIP ZIP FILE added by laurenceHR case "unzip": require "./_include/fun_unzip.php"; unzip_item($current_dir); break; //------------------------------------------------------------------------------ // CREATE DIR/FILE //------------------------------------------------------------------------------ // CREATE DIR/FILE case "mkitem": require "./_include/fun_mkitem.php";