diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-06-02 06:56:48 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-06-02 06:56:48 +0000 |
commit | 248902b1b50be90a1edcba7adced159d7a00b418 (patch) | |
tree | 39f410541fd94dcd204eada3ac0e54399f87b62b /modules/system/system.install | |
parent | bf22ca024a0565643b70dd3eb381559a5d44a3af (diff) | |
download | brdo-248902b1b50be90a1edcba7adced159d7a00b418.tar.gz brdo-248902b1b50be90a1edcba7adced159d7a00b418.tar.bz2 |
- Patch #807622 by grendzy: ftal error calling sys_get_temp_dir() in installer.
Diffstat (limited to 'modules/system/system.install')
-rw-r--r-- | modules/system/system.install | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index 38eec361d..993bb4981 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -74,6 +74,8 @@ function system_requirements($phase) { if (version_compare($phpversion, DRUPAL_MINIMUM_PHP) < 0) { $requirements['php']['description'] = $t('Your PHP installation is too old. Drupal requires at least PHP %version.', array('%version' => DRUPAL_MINIMUM_PHP)); $requirements['php']['severity'] = REQUIREMENT_ERROR; + // If PHP is old, it's not safe to continue with the requirements check. + return $requirements; } // Test PHP register_globals setting. |