summaryrefslogtreecommitdiff
path: root/modules/system/system.install
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2008-01-10 22:47:17 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2008-01-10 22:47:17 +0000
commit78bc68f304b83a965e4223887d9443eb12bf91b4 (patch)
tree4e79fc9f091bbf301ff78312b6307c32caaa8845 /modules/system/system.install
parentb3c7ff77ffdc327c900e2ecf72e93510aee7f622 (diff)
downloadbrdo-78bc68f304b83a965e4223887d9443eb12bf91b4.tar.gz
brdo-78bc68f304b83a965e4223887d9443eb12bf91b4.tar.bz2
Drupal 6 RC2
Diffstat (limited to 'modules/system/system.install')
-rw-r--r--modules/system/system.install4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index 4a7868a79..be9fbcf5b 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -52,6 +52,10 @@ function system_requirements($phase) {
$requirements['webserver']['description'] = $t('Unable to determine your web server type and version. Drupal might not work properly.');
$requirements['webserver']['severity'] = REQUIREMENT_WARNING;
}
+ if (ini_get('register_globals')) {
+ $requirements['php']['description'] = $t('<em>register_globals</em> is enabled. Drupal requires this configuration directive to be disabled. Your site may not be secure when <em>register_globals</em> is enabled. The PHP manual has instructions for <a href="http://php.net/configuration.changes">how to change configuration settings</a>.');
+ $requirements['php']['severity'] = REQUIREMENT_ERROR;
+ }
// Test PHP version
$requirements['php'] = array(