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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user