| 1 |
<?php |
<?php |
| 2 |
// $Id: amfphp.module,v 1.6 2007/07/15 06:48:53 snelson Exp $ |
// $Id: amfphp.module,v 1.7 2007/07/15 18:34:38 snelson Exp $ |
| 3 |
|
|
| 4 |
/* |
/* |
| 5 |
* Implementation of hook_requirements() |
* Implementation of hook_requirements() |
| 15 |
|
|
| 16 |
if (!file_exists(realpath(dirname(__FILE__) . '/amfphp/globals.php'))) { |
if (!file_exists(realpath(dirname(__FILE__) . '/amfphp/globals.php'))) { |
| 17 |
$requirements['amfphp']['value'] = $t('Not found or wrong version'); |
$requirements['amfphp']['value'] = $t('Not found or wrong version'); |
| 18 |
$requirements['amfphp']['description'] = $t('You must dowload <a href="http://www.5etdemi.com/blog/archives/2007/01/amfphp-19-beta-2-ridiculously-faster/">AMFPHP 1.9 Beta 2</a>, and extract to modules/amfphp/amfphp, or respective site modules directory.'); |
$requirements['amfphp']['description'] = $t('You must dowload <a href="http://downloads.sourceforge.net/amfphp/amfphp-1.9.beta.20080120.zip?modtime=1200844138">AMFPHP 1.9 beta 2</a>, and extract to modules/amfphp/amfphp, or respective site modules directory.'); |
| 19 |
$requirements['amfphp']['severity'] = REQUIREMENT_ERROR; |
$requirements['amfphp']['severity'] = REQUIREMENT_ERROR; |
| 20 |
} |
} |
| 21 |
|
|