From c2d2fb73095a32394dd95e72421aec49fa2cd6f6 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 13 May 2003 18:36:38 +0000 Subject: - Fixed a typo in the PostgreSQL database scheme. Patch by Michael Frankowski. - Fixed a typo in the MSSQL database scheme. Patch by Michael Frankowski. - Removed dependency on "register_globals = on"! Patches by Michael Frankowski. Notes: + Updated the patches to use $foo["bar"] instead of $foo['bar']. + Updated the INSTALL and CHANGELOG files as well. - Tiny improvement to the "./scripts/code-clean.sh" script. --- index.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'index.php') 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"); -- cgit v1.2.3