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

@@ -42,7 +42,7 @@ if (isset($_POST) && !empty($_POST)){
echo $deviceId;
var_dump(json_decode ($permissionsInJson));
echo '</pre>';
echo '<a href="/vasek/home/">CONTINUE</a>';
echo '<a href="' . BASEDIR .'">CONTINUE</a>';
die();
}
} else if (isset($_POST['approveDevice'])) {
@@ -64,10 +64,10 @@ if (isset($_POST) && !empty($_POST)){
echo '<pre>';
var_dump($POST);
echo '</pre>';
echo '<a href="/vasek/home/">CONTINUE</a>';
echo '<a href="' . BASEDIR . '">CONTINUE</a>';
die();
}
header('Location: /vasek/home/');
header('Location: ' . BASEDIR );
die();
}
?>