* * On Debian GNU/Linux systems, the complete text of the GNU General * Public License can be found in `/usr/share/common-licenses/GPL-2'. * * Otherwise you can read it here: http://www.gnu.org/licenses/gpl-2.0.txt ****************************************************************************/ /** * Class and Function List: * Function list: * Classes list: */ require_once 'classes/Session.inc'; require_once 'classes/Security.inc'; Session::logcheck("MenuEvents", "ControlPanelSEM"); require_once "handle_cache.inc"; $config = parse_ini_file("everything.ini"); $cache_dir = $config["cache_dir"]; $action = GET("action"); ossim_valid($action, OSS_ALPHA, 'illegal:' . _("action")); if (ossim_error()) { die(ossim_error()); } if ($action == "update") { print GetCacheInfo($cache_dir); } elseif ($action == "print") { PrintCacheInfo($cache_dir); } elseif ($action == "clean") { CleanCache($cache_dir); } elseif ($action == "purge") { ClearCache($cache_dir); }
<?php include_once dirname(__FILE__) . "/frame.class.inc"; include_once dirname(__FILE__) . "/class.unix.inc"; include_once dirname(__FILE__) . "/class.postfix.inc"; if (isset($_GET["CleanCache"])) { CleanCache(); exit; } if (isset($_GET["SaveConfigFile"])) { SaveConfigFile(); exit; } if (isset($_GET["SaveClusterConfigFile"])) { SaveClusterConfigFile(); exit; } if (isset($_GET["SmtpNotificationConfig"])) { SmtpNotificationConfig(); exit; } if (isset($_GET["refresh-frontend"])) { Refresh_frontend(); exit; } if (isset($_GET["find-program"])) { find_sock_program(); exit; } if (isset($_GET["LaunchRemoteInstall"])) { LaunchRemoteInstall();
<?php include_once(dirname(__FILE__)."/frame.class.inc"); include_once(dirname(__FILE__)."/class.unix.inc"); include_once(dirname(__FILE__)."/class.postfix.inc"); if(isset($_GET["CleanCache"])){CleanCache();exit;} if(isset($_GET["GetLangagueFile"])){LOAD_LANGUAGE_FILE();exit;} if(isset($_GET["SaveConfigFile"])){SaveConfigFile();exit;} if(isset($_GET["SaveClusterConfigFile"])){SaveClusterConfigFile();exit;} if(isset($_GET["SmtpNotificationConfig"])){SmtpNotificationConfig();exit;} if(isset($_GET["refresh-frontend"])){Refresh_frontend();exit;} if(isset($_GET["find-program"])){find_sock_program();exit;} if(isset($_GET["syslog-query"])){SYSLOG_QUERY();exit;} if(isset($_GET["aptcheck"])){aptcheck();exit;} if(isset($_GET["SetServerTime"])){SetServerTime();exit;} if(isset($_GET["CompileSSHDRules"])){CompileSSHDRules();exit;} if(isset($_GET["ou-ldap-import-execute"])){LDAP_IMPORT_EXEC();exit;} if(isset($_GET["sys-sync-paquages"])){SysSyncPaquages();exit;} if(isset($_GET["LaunchRemoteInstall"])){LaunchRemoteInstall();exit;} if(isset($_GET["restart-web-server"])){RestartWebServer();exit;} if(isset($_GET["restart-artica-status"])){RestartArticaStatus();exit;} if(isset($_GET["wake-on-lan"])){WakeOnLan();exit;} if(isset($_GET["net-ads-leave"])){net_ads_leave();exit;} if(isset($_GET["process1-force"])){process1_force();exit;} if(isset($_GET["right-status"])){right_status();exit;}