object new File_HtAccess ([string $file='.htaccess' [, array $params]])
object new File_HtAccess
Creates an instance of a File_HtAccess object.
string $file - filename to use. Defaults to .htaccess
array $params - a array of parameters which can be:
$params['authname'] - authname
$params['authtype'] - authtype
$params['authuserfile'] - authuserfile
$params['authgroupfile'] - authgroupfile
$params['require'] - require
$params['additional'] - additional
object - instance of File_HtAccess
Example 38-1. How to create new instance of File_HtAccess
<?php require_once('File/HtAccess.php'); $fh = new File_HtAccess('.htaccess'); ?>