Skip to content

Commit

Permalink
Update index.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Haxatron committed Oct 14, 2021
1 parent b5925d9 commit 35eac87
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.php
Expand Up @@ -12,6 +12,8 @@
// Uncomment to enable debugging
define('DEBUGGING', 1);

header("X-Frame-Options: SAMEORIGIN");

if ((defined('DEBUGGING') && DEBUGGING) || (isset($_SERVER['NAMELESSMC_DEBUGGING']) && $_SERVER['NAMELESSMC_DEBUGGING'])) {
ini_set('display_startup_errors', 1);
ini_set('display_errors', 1);
Expand Down

0 comments on commit 35eac87

Please sign in to comment.