summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorDries Buytaert2003-01-04 23:43:49 (GMT)
committerDries Buytaert2003-01-04 23:43:49 (GMT)
commit56e5c29b40c7d926433c07e7bedb8f928a448997 (patch)
tree96e0523b6b282f7447a48c2978ab8aebb337b004 /index.php
parent2da18e8d0c1026143b85518f323c26cad55865f0 (diff)
- Added a check for register_globals.
Diffstat (limited to 'index.php')
-rw-r--r--index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.php b/index.php
index f92caa3..0d725eb 100644
--- a/index.php
+++ b/index.php
@@ -6,6 +6,7 @@ include_once "includes/common.inc";
page_header();
check_php_setting("magic_quotes_gpc", 0);
+check_php_setting("register_globals", 1);
if (module_hook(variable_get("site_frontpage", "node"), "page")) {
module_invoke(variable_get("site_frontpage", "node"), "page");