* * See the enclosed file LICENSE for license information (ASL). If you * did not receive this file, see http://www.horde.org/asl.php. */ /* Include Horde's core.php file. */ include_once '../lib/core.php'; /* We should have loaded the String class, from the Horde_Util package, in * core.php. If String:: isn't defined, then we're not finding some critical * libraries. */ if (!class_exists('String')) { echo '
The Horde_Util package was not found. If PHP\'s error_reporting setting is high enough, there should be error messages printed above that may help you in debugging the problem. If you are simply missing these files, then you need to get the framework module from Horde CVS, and install the packages in it with the install-packages.php script.'; exit; } /* Initialize the Horde_Test:: class. */ if (!(@is_readable('../lib/Test.php'))) { echo 'ERROR: You must install Horde before running this script.'; exit; } require_once '../lib/Test.php'; $horde_test = &new Horde_Test; /* Accounts definitions. */ $module = 'Passwd'; require_once './lib/version.php'; $module_version = PASSWD_VERSION; require TEST_TEMPLATES . 'header.inc'; require TEST_TEMPLATES . 'version.inc'; /* PHP module capabilities. */ $module_list = array( 'mcrypt' => array( 'descrip' => 'mcrypt', 'error' => 'If you will be using the smbldap driver for password changes, PHP must have mcrypt support. Compile PHP --with-mcrypt before continuing.' ), 'mhash' => array( 'descrip' => 'mhash', 'error' => 'If you will be using the smbldap driver for password changes, PHP must have mhash support. Compile PHP --with-mhash before continuing.' ) ); /* PEAR */ $pear_list = array( 'Crypt_CHAP' => array( 'path' => 'Crypt/CHAP.php', 'error' => 'If you will be using the smbldap driver for password changes, then you must install the PEAR Crypt_CHAP module.' ) ); /* Get the status output now. */ $module_output = $horde_test->phpModuleCheck($module_list); ?>

PHP Module Capabilities

PEAR Modules