Base Directory Fix #1

This commit is contained in:
JonatanRek
2019-10-11 16:32:05 +02:00
parent 5501805c71
commit a82cf90d12
14 changed files with 19 additions and 19 deletions

View File

@@ -9,10 +9,10 @@ if (isset($_POST) && !empty($_POST)){
echo '<pre>';
var_dump($_POST);
echo '</pre>';
echo '<a href="/vasek/home/' . strtolower(basename(__FILE__, '.php')).'">CONTINUE</a>';
echo '<a href="/' . BASEDIR . strtolower(basename(__FILE__, '.php')).'">CONTINUE</a>';
die();
}
header('Location: /vasek/home/' . strtolower(basename(__FILE__, '.php')));
header('Location: ' . BASEDIR . strtolower(basename(__FILE__, '.php')));
die();
}