- added possibility to customize authname of directory-protection, fixes #345

This commit is contained in:
Michael Kaufmann (d00p)
2010-08-11 07:48:56 +00:00
parent db286077f8
commit 040f151d65
11 changed files with 58 additions and 16 deletions

View File

@@ -965,7 +965,7 @@ class apache
}
$this->diroptions_data[$diroptions_filename].= ' AuthType Basic' . "\n";
$this->diroptions_data[$diroptions_filename].= ' AuthName "Restricted Area"' . "\n";
$this->diroptions_data[$diroptions_filename].= ' AuthName "'.$row_htpasswd['authname'].'"' . "\n";
$this->diroptions_data[$diroptions_filename].= ' AuthUserFile ' . $htpasswd_filename . "\n";
$this->diroptions_data[$diroptions_filename].= ' require valid-user' . "\n";
}