add x-frame-options for cleint php page
This commit is contained in:
parent
7b4427d3e3
commit
60b1b5eec5
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
$path = rtrim(str_replace('\\','/',dirname($_SERVER['PHP_SELF'])), '/');
|
||||
$url = ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $path;
|
||||
header('X-Frame-Options: DENY');
|
||||
?>
|
||||
<!doctype html>
|
||||
<html class="no-js" lang="">
|
||||
|
|
Loading…
Reference in New Issue