diff options
Diffstat (limited to 'modules/system')
-rw-r--r-- | modules/system/system.install | 4 | ||||
-rw-r--r-- | modules/system/system.module | 4 |
2 files changed, 6 insertions, 2 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( diff --git a/modules/system/system.module b/modules/system/system.module index f6b4409ad..5d37772e3 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -9,7 +9,7 @@ /** * The current system version. */ -define('VERSION', '6.0-dev'); +define('VERSION', '6.0-rc2'); /** * Core API compatibility. @@ -19,7 +19,7 @@ define('DRUPAL_CORE_COMPATIBILITY', '6.x'); /** * Minimum supported version of PHP. */ -define('DRUPAL_MINIMUM_PHP', '4.3.3'); +define('DRUPAL_MINIMUM_PHP', '4.3.5'); /** * Minimum recommended value of PHP memory_limit. |