summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-06-27 17:54:49 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-06-27 17:54:49 +0000
commit8650d5a77a989c8c70ba3ba5843ec9e6f7b64c05 (patch)
tree4d091d670dfe39eec971a7af273b396560bc7e7d /includes
parent358a4dc079aa310e42a567d0adfd6e827e727cc1 (diff)
downloadbrdo-8650d5a77a989c8c70ba3ba5843ec9e6f7b64c05.tar.gz
brdo-8650d5a77a989c8c70ba3ba5843ec9e6f7b64c05.tar.bz2
#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
Diffstat (limited to 'includes')
-rw-r--r--includes/module.inc3
1 files changed, 2 insertions, 1 deletions
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) {