File_HtAccess::setAuthGroupFile()
File_HtAccess::setAuthGroupFile() -- set the value of authgroupfile property
Synopsis
void File_HtAccess::setAuthGroupFile (string [$file])
Beschreibung
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.
Hinweise
Diese Methode kann nicht
statisch aufgerufen werden.
Beispiel
Beispiel 44-1. 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();
?>
|
|