summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/index.php b/index.php
index f7f539b21..b66948282 100644
--- a/index.php
+++ b/index.php
@@ -3,7 +3,7 @@
include_once "includes/common.inc";
-if (isset($q)) {
+if (isset($_GET["q"])) {
$mod = arg(0);
}
@@ -20,7 +20,6 @@ else {
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");