Testpanel klasörüne güncel dosyalar eklendi
This commit is contained in:
11
testpanel/session_check.php
Normal file
11
testpanel/session_check.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
error_reporting(E_ALL);
|
||||
ini_set('display_errors', 1);
|
||||
ini_set('display_startup_errors', 1);
|
||||
session_start();
|
||||
|
||||
if (!isset($_SESSION['user_id'])) {
|
||||
header('Location: index.php');
|
||||
exit();
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user