dün panele girdiğimde hiçbir sıkıntı yoktu, bugün giriş sayfasına girdiğimde hata aldım
<?php if ($_GET['status']=='exit') {?>
<script>
$(document).ready(function () {
swal({
title: "BAŞARILI!",
text: "Çıkış işlemi başarılı bir şekilde gerçekleşti.",
type: "success",
showConfirmButton: false,
timer: '1000'
});
});
</script>
<?php
$sayfaURL = "http";
if(isset($_SERVER["HTTPS"])){
if($_SERVER["HTTPS"] == "on"){
$sayfaURL .= "s";
}
}
$sayfaURL .= "://";
$sayfaURL .= $_SERVER["SERVER_NAME"] . $_SERVER["REQUEST_URI"]; ?>
<meta http-equiv="refresh" content="1; URL=<?php echo substr($sayfaURL,0, -12);?>">
<?php } ?>sayfada hiçbir değişiklik yapmadım.