Moved the Agents into their own repo. Kept the agent.pl just for reference
This commit is contained in:
parent
22381be29a
commit
8680a02b13
18132 changed files with 0 additions and 2569420 deletions
|
|
@ -1,55 +0,0 @@
|
|||
<?php
|
||||
|
||||
// -------------------------------------------------------------------------------
|
||||
// | net2ftp: a web based FTP client |
|
||||
// | Copyright (c) 2003-2013 by David Gartner |
|
||||
// | |
|
||||
// | This program is free software; you can redistribute it and/or |
|
||||
// | modify it under the terms of the GNU General Public License |
|
||||
// | as published by the Free Software Foundation; either version 2 |
|
||||
// | of the License, or (at your option) any later version. |
|
||||
// | |
|
||||
// -------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// **************************************************************************************
|
||||
// **************************************************************************************
|
||||
// ** **
|
||||
// ** **
|
||||
|
||||
function net2ftp_module_sendHttpHeaders() {
|
||||
|
||||
// --------------
|
||||
// This function sends HTTP headers
|
||||
// --------------
|
||||
|
||||
global $net2ftp_globals, $net2ftp_settings;
|
||||
|
||||
if (isset($_POST["list"]) == true) { $list = getSelectedEntries($_POST["list"]); }
|
||||
elseif (isset($_GET["list"]) == true) { $list = getSelectedEntries($_GET["list"]); }
|
||||
else { $list = ""; }
|
||||
|
||||
if ($net2ftp_settings["functionuse_downloadzip"] == "yes") {
|
||||
$zipactions["download"] = "yes";
|
||||
$zipactions["email"] = "no";
|
||||
$zipactions["save"] = "no";
|
||||
ftp_zip("", $net2ftp_globals["directory"], $list, $zipactions, "", 0);
|
||||
}
|
||||
else {
|
||||
$errormessage = __("This function has been disabled by the Administrator of this website.");
|
||||
setErrorVars(false, $errormessage, debug_backtrace(), __FILE__, __LINE__);
|
||||
return false;
|
||||
}
|
||||
|
||||
} // end net2ftp_sendHttpHeaders
|
||||
|
||||
// ** **
|
||||
// ** **
|
||||
// **************************************************************************************
|
||||
// **************************************************************************************
|
||||
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue