File_HtAccess::setAuthGroupFile()

File_HtAccess::setAuthGroupFile() – set the value of authgroupfile property

Synopsis

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.

Parameter

  • string $file - absolute pathname to the group file.

Return value

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();

?>
    Поддержать сайт на родительском проекте КГБ