summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorDries Buytaert2003-05-13 18:36:38 (GMT)
committerDries Buytaert2003-05-13 18:36:38 (GMT)
commitc2d2fb73095a32394dd95e72421aec49fa2cd6f6 (patch)
tree5d2d92a31480405b8c10c3b85927049238528242 /index.php
parent13ffd8956826fec3cd9978edf73ef67d9eb8d46e (diff)
- 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.
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 f7f539b..b669482 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");