s1
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
// Database connection
|
||||
if($_SESSION['type'] !== 'admin'){
|
||||
echo '<script>window.location.href="/Admin/View_AC?Type=Recurring"</script>';
|
||||
}
|
||||
$conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']);
|
||||
$conn->set_charset("utf8");
|
||||
if ($conn->connect_error) {
|
||||
|
||||
Reference in New Issue
Block a user