File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1475,7 +1475,7 @@ function update($event_name, $data) {
14751475 if (!is_dir ($ data ['new ' ]['document_root ' ].'/ ' . $ web_folder . '/stats ' )) $ app ->system ->mkdir ($ data ['new ' ]['document_root ' ].'/ ' . $ web_folder . '/stats ' );
14761476 $ ht_file = "AuthType Basic \nAuthName \"Members Only \"\nAuthUserFile " .$ data ['new ' ]['document_root ' ]."/web/stats/.htpasswd_stats \nrequire valid-user " ;
14771477 $ app ->system ->file_put_contents ($ data ['new ' ]['document_root ' ].'/ ' . $ web_folder . '/stats/.htaccess ' , $ ht_file );
1478- $ app ->system ->chmod ($ data ['new ' ]['document_root ' ].'/ ' . $ web_folder . '/stats/.htaccess ' , 0751 );
1478+ $ app ->system ->chmod ($ data ['new ' ]['document_root ' ].'/ ' . $ web_folder . '/stats/.htaccess ' , 0755 );
14791479 unset($ ht_file );
14801480 //}
14811481
@@ -1485,7 +1485,7 @@ function update($event_name, $data) {
14851485 $ app ->system ->web_folder_protection ($ data ['new ' ]['document_root ' ], false );
14861486 $ app ->system ->file_put_contents ($ data ['new ' ]['document_root ' ].'/web/stats/.htpasswd_stats ' , $ htp_file );
14871487 $ app ->system ->web_folder_protection ($ data ['new ' ]['document_root ' ], true );
1488- $ app ->system ->chmod ($ data ['new ' ]['document_root ' ].'/web/stats/.htpasswd_stats ' , 0751 );
1488+ $ app ->system ->chmod ($ data ['new ' ]['document_root ' ].'/web/stats/.htpasswd_stats ' , 0755 );
14891489 unset($ htp_file );
14901490 }
14911491 }
You can’t perform that action at this time.
0 commit comments