authdb check: Use relative, not absolute path

This commit is contained in:
Marvin Gaube 2020-03-01 20:18:15 +01:00
parent 6ba23a85b8
commit 82db64595c

View file

@ -41,7 +41,7 @@ if (is_logged_in() and isset($_POST['formname']) and $_POST['formname'] === "cha
?>
<script type="text/javascript">
var reader = new XMLHttpRequest();
var checkFor = "<?php echo $testurl; ?>";
var checkFor = "<?php echo $testpath; ?>";
reader.open('get', checkFor, true);
reader.onreadystatechange = checkReadyState;
function checkReadyState() {