Update config.php
Fix the request URL used to restart php once the settings have been saved
This commit is contained in:
+1
-1
@@ -82,7 +82,7 @@ if(isset($_GET["latitude"])){
|
||||
echo "<script>setTimeout(
|
||||
function() {
|
||||
const xhttp = new XMLHttpRequest();
|
||||
xhttp.open(\"GET\", \"scripts/config.php?restart_php=true\", true);
|
||||
xhttp.open(\"GET\", \"./config.php?restart_php=true\", true);
|
||||
xhttp.send();
|
||||
}, 1000);</script>";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user