mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-30 11:19:22 +02:00
Merge pull request #208 from triath/use-protect_page()-in-helpdesk.php
Use standard function protect_page() in helpdesk.php
This commit is contained in:
commit
8e4d44fe4c
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
require_once 'engine/init.php';
|
||||
if (user_logged_in() === false) {
|
||||
header('Location: register.php');
|
||||
}
|
||||
protect_page();
|
||||
include 'layout/overall/header.php';
|
||||
|
||||
$view = (isset($_GET['view']) && (int)$_GET['view'] > 0) ? (int)$_GET['view'] : false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user