Refresh with leep current url

This commit is contained in:
TPLinux
2017-06-30 03:39:17 +00:00
committed by GitHub
parent 754e5de7e8
commit 9fd2f4de22
+2 -1
View File
@@ -59,5 +59,6 @@ $building->loadBuilding();
</table>
<script type="text/javascript">var bld=[{"stufe":1,"gid":"1","aid":"3"}]</script>
<?php }else{
header('Location: dorf1.php');
$the_link = (isset($_SERVER['HTTPS']) ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
header('Location: '. $the_link);
} ?>