php hocam, login.php başı böyle

--------

<?php

include 'settings.php';

if(isset($_SESSION['admin']['login'])){

die('<meta http-equiv="refresh" content="0;URL=index.php">');

}



?>