Moved the Agents into their own repo. Kept the agent.pl just for reference

This commit is contained in:
Frank Harris 2025-09-11 13:27:32 -04:00
parent 22381be29a
commit 8680a02b13
18132 changed files with 0 additions and 2569420 deletions

View file

@ -1,26 +0,0 @@
<?php
// Setting error reporting to all errors
error_reporting(E_ALL);
include "functions.php";
function exec_ogp_module(){
if($_SERVER['REQUEST_METHOD'] === 'GET'){
$homeid = $_GET['home_id'];
echo "<center><h4>This Module is Currently not Working - Testing phase -
if you need to restore from backup see @shootingBlanks or @dimrod on discord</h4></center>";
echo '<center>';
echo '<h2>Backups Available for game server '.$homeid.'</h2>';
echo '<div><form method="POST">';
echo '<input type="hidden" name="home_id" value="'.$homeid.'"/>';
getAvailableBackups($homeid);
echo "</form></div>";
echo '</center>';
}elseif ($_SERVER['REQUEST_METHOD'] === 'POST') {
$action = $_POST['dothis'];
$homeid = $_POST['home_id'];
doButtons($action, $homeid);
}
}