diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-06-27 17:54:49 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-06-27 17:54:49 +0000 |
commit | 8650d5a77a989c8c70ba3ba5843ec9e6f7b64c05 (patch) | |
tree | 4d091d670dfe39eec971a7af273b396560bc7e7d /includes | |
parent | 358a4dc079aa310e42a567d0adfd6e827e727cc1 (diff) | |
download | brdo-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.inc | 3 |
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) { |