芝麻web文件管理V1.00
编辑当前文件:/home/strato/chroot/opt/RZphp5/includes/test/PEAR_Info/tests/defaultConfig.phpt
--TEST-- PEAR_Info using default configuration --FILE-- set('php_dir', $peardir); $config->writeConfigFile($conf_file); } /** * TestCase 1: * default class constructor without parameter * * Must use the pear config files into the default system directory * (PEAR_CONFIG_SYSCONFDIR). */ $testCase = 'testConfigFilesExistInSysConfDir'; $pearInfo = new PEAR_Info(); $result = (!is_null($pearInfo->reg)) ? 'OK' : 'System PEAR configuration files does not exist'; echo $testCase . ' : ' . $result; ?> --CLEAN-- --EXPECT-- testConfigFilesExistInSysConfDir : OK