summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2002-12-26 12:16:09 +0000
committerDries Buytaert <dries@buytaert.net>2002-12-26 12:16:09 +0000
commit26e0b9b75c2cbb796449ae8acc9c130c66d5e740 (patch)
treebcfaf9d0518a31d5db2bd85a110dc53c70041a97 /index.php
parent728125035c65d5a40b162ca1d824adcb294afe74 (diff)
downloadbrdo-26e0b9b75c2cbb796449ae8acc9c130c66d5e740.tar.gz
brdo-26e0b9b75c2cbb796449ae8acc9c130c66d5e740.tar.bz2
- Made Drupal report an error when magic_quotes are disabled.
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");
}