Skip to content

Commit bf159b9

Browse files
committed
1 parent eed36bd commit bf159b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/plugins-available/apache2_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ function update($event_name,$data) {
671671
}
672672

673673
//* Create .htaccess and .htpasswd file for website statistics
674-
if(!is_file($data["new"]["document_root"].'/web/stats/.htaccess') {
674+
if(!is_file($data["new"]["document_root"].'/web/stats/.htaccess')) {
675675
$ht_file = "AuthType Basic\nAuthName \"Members Only\"\nAuthUserFile ".$data["new"]["document_root"]."/.htpasswd_stats\n<limit GET PUT POST>\nrequire valid-user\n</limit>";
676676
file_put_contents($data["new"]["document_root"].'/web/stats/.htaccess',$ht_file);
677677
chmod($data["new"]["document_root"].'/web/stats/.htaccess',0664);

0 commit comments

Comments
 (0)