File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -803,7 +803,7 @@ function update($event_name,$data) {
803803 //* Create .htaccess and .htpasswd file for website statistics
804804 if (!is_file ($ data ["new " ]["document_root " ].'/web/stats/.htaccess ' ) or $ data ["old " ]["document_root " ] != $ data ["new " ]["document_root " ]) {
805805 if (!is_dir ($ data ["new " ]["document_root " ].'/web/stats ' )) mkdir ($ data ["new " ]["document_root " ].'/web/stats ' );
806- $ ht_file = "AuthType Basic \nAuthName \"Members Only \"\nAuthUserFile " .$ data ["new " ]["document_root " ]."/.htpasswd_stats \n <limit GET PUT POST> \ nrequire valid-user \n </limit> " ;
806+ $ ht_file = "AuthType Basic \nAuthName \"Members Only \"\nAuthUserFile " .$ data ["new " ]["document_root " ]."/.htpasswd_stats \nrequire valid-user " ;
807807 file_put_contents ($ data ["new " ]["document_root " ].'/web/stats/.htaccess ' ,$ ht_file );
808808 chmod ($ data ["new " ]["document_root " ].'/web/stats/.htaccess ' ,0664 );
809809 unset($ ht_file );
You can’t perform that action at this time.
0 commit comments