芝麻web文件管理V1.00
编辑当前文件:/home/strato/chroot/opt/RZphp80/includes/test/File_HtAccess/tests/01validuser.phpt
--TEST-- File_HtAccess::load() --SKIPIF-- --FILE-- load(); $data = print_r($fh,1); $data = str_replace(dirname(__FILE__) . "/", "", $data); $data = str_replace("File_HtAccess", "file_htaccess", $data); print $data; ?> --GET-- --POST-- --EXPECT-- file_htaccess Object ( [file] => htaccess01 [authname] => "Protected" [authtype] => Basic [authuserfile] => /usr/local/apache/conf/users.dat [authgroupfile] => [authdigestfile] => [authdigestgroupfile] => [require] => Array ( [0] => valid-user ) [additional] => Array ( ) )