mirror of
https://github.com/newnius/YAO-portal.git
synced 2025-12-13 00:56:44 +00:00
init & add agent & add job
This commit is contained in:
11
secure.inc.php
Normal file
11
secure.inc.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
/* include this file (only) in every front page */
|
||||
|
||||
require_once('Securer.class.php');
|
||||
|
||||
/* set csrf token */
|
||||
Securer::set_csrf_token();
|
||||
|
||||
/* set no iframe */
|
||||
header('X-FRAME-OPTIONS:DENY');
|
||||
Reference in New Issue
Block a user