summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorNathan Kinkade <nath@nkinka.de>2012-11-29 17:41:07 +0000
committerNathan Kinkade <nath@nkinka.de>2012-11-29 17:41:07 +0000
commitfc7750c742d30c6ebd42a12c9d468f54e90d470d (patch)
treee971591cf8497246a05db3d9793e8fb610610a56 /index.php
parenta12ede0a39515b7b97aa8a3415f60d1c9752e3e6 (diff)
parentf457cd283cdfd9011d76ae96872e1f08bb219baf (diff)
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/index.php b/index.php
index 9a6cc2ea..e6540791 100644
--- a/index.php
+++ b/index.php
@@ -51,6 +51,9 @@ ini_set("display_errors", false);
// Ajax code.
ini_set("session.use_trans_sid", false);
+// Restrict all response frames to the same origin for security
+header("X-Frame-Options: SAMEORIGIN");
+
define("EXT", ".php");
define("DOCROOT", getcwd() . "/");
define("KOHANA", "index.php");