From 8650d5a77a989c8c70ba3ba5843ec9e6f7b64c05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Wed, 27 Jun 2007 17:54:49 +0000 Subject: #154949 by Crell and dww: let modules and themes specify a minimum required PHP version, under which they will not be possible to be turned on --- includes/module.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/module.inc b/includes/module.inc index dcec75f5c..7cd13ec3d 100644 --- a/includes/module.inc +++ b/includes/module.inc @@ -107,7 +107,8 @@ function module_rebuild_cache() { 'dependencies' => array(), 'dependents' => array(), 'description' => '', - 'version' => NULL + 'version' => NULL, + 'php' => DRUPAL_MINIMUM_PHP, ); foreach ($files as $filename => $file) { -- cgit v1.2.3