void File_HtAccess::setAuthGroupFile (
string $file
)
Sets the value of authgroupfile property. AuthGroupFile a file containing names of the groups and usernames belonging to the group. You must give full path to the group file in order for it to work.
string $file
- absolute pathname to the
group file.
void
This function can not be called statically.
Using File_HtAccess::setauthgroupfile()
<?php
require_once('File/HtAccess.php');
/* set the group file to /etc/htgroup */
$fh = new File_HtAccess('.htaccess');
$fh->load();
$fh->setAuthGroupFile('/etc/htgroup');
$fh->save();
?>