<?php
- $headers = getallheaders();
- $path = substr($PHP_SELF, 0, strrpos($PHP_SELF, '/'));
- $location = $headers["Host"] . $path;
+ include "./functions/strings.php";
- header("Location: http://$location/src/login.php\n\n");
+ $location = get_location();
+ header("Location: $location/src/login.php\n\n");
exit();
?>