Update files to use $hubBaseurl

Remove hard coded references to hub.hackerpublicradio.org to allow hub to be run on different servers and make testing locally possible.
This commit is contained in:
2025-09-30 23:22:04 -04:00
parent 2609ee5710
commit 4d51954c3c
5 changed files with 5 additions and 5 deletions

View File

@@ -51,7 +51,7 @@ if ( isset( $_GET['delete'] ) ) {
call412("35a7f4e80ecba8284049e9d6261ae523");
}
else {
header( "Location: https://" . $_SERVER['SERVER_NAME'] . "/calendar.php" ) ;
header( "Location: ${hubBaseurl}calendar.php" ) ;
$dir_structure = "/home/hpr/upload/" . strtotime($db_timestamp) . "_${ep_num}_${ep_date}_${db_key}/";
rrmdir("$dir_structure");
exit;