summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/index.php b/index.php
index 0cd82ebec..f92caa3d0 100644
--- a/index.php
+++ b/index.php
@@ -5,6 +5,8 @@ include_once "includes/common.inc";
page_header();
+check_php_setting("magic_quotes_gpc", 0);
+
if (module_hook(variable_get("site_frontpage", "node"), "page")) {
module_invoke(variable_get("site_frontpage", "node"), "page");
}