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,27 +0,0 @@
<?php
$dbname = "server_1434";
//$dbname = "server_1437";
include_once('functions.php');
include_once('assets/simple_html_dom.php');
$mod_date = array();
echo "$dbname<br>";
$mods = mods($dbname);
for($i=0; $i<count($mods); $i++){
$url = "https://steamcommunity.com/sharedfiles/filedetails/changelog/$mods[$i]";
$text = scrape_mod_url($url);
$mod_date += ["$mods[$i]"=>substr(trim($text),8)];
}
$mod_update = parse_date($mod_date);
printvar($mod_update);
function printvar($var){
echo "<pre>";
print_r($var);
echo "</pre>";
}