| 1 |
<?php |
<?php |
| 2 |
// $Id: luceneapi.install,v 1.7 2009/03/28 23:29:29 cpliakas Exp $ |
// $Id: luceneapi.install,v 1.8 2009/03/31 23:48:12 cpliakas Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 152 |
'title' => $t('PHP'), |
'title' => $t('PHP'), |
| 153 |
'value' => PHP_VERSION, |
'value' => PHP_VERSION, |
| 154 |
); |
); |
| 155 |
if (version_compare(PHP_VERSION, '5.1.6', '<')) { |
if (version_compare(PHP_VERSION, '5.2.1', '<')) { |
| 156 |
$requirements['luceneapi_php']['severity'] = REQUIREMENT_ERROR; |
$requirements['luceneapi_php']['severity'] = REQUIREMENT_ERROR; |
| 157 |
$requirements['luceneapi_php']['description'] = $t( |
$requirements['luceneapi_php']['description'] = $t( |
| 158 |
'Search Lucene API requires PHP %version or later.', |
'Search Lucene API requires PHP %version or later.', |