--- a/index.php +++ b/index.php @@ -1,1 +1,9 @@ +<?php +/* Redirect to a different page in the current directory that was requested */ +$host = $_SERVER['HTTP_HOST']; +$uri = rtrim(dirname($_SERVER['PHP_SELF']), '/\\'); +$extra = 'getAgency.php'; +header("Location: http://$host$uri/$extra"); +exit; +?>