mirror of
https://github.com/opensupports/opensupports.git
synced 2025-07-31 01:35:15 +02:00
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…
x
Reference in New Issue
Block a user