From 78bc68f304b83a965e4223887d9443eb12bf91b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Thu, 10 Jan 2008 22:47:17 +0000 Subject: Drupal 6 RC2 --- modules/system/system.install | 4 ++++ modules/system/system.module | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'modules/system') 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('register_globals is enabled. Drupal requires this configuration directive to be disabled. Your site may not be secure when register_globals is enabled. The PHP manual has instructions for how to change configuration settings.'); + $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. -- cgit v1.2.3