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 @@ -330,7 +330,7 @@ function update($event_name,$data) {
330330 exec ("cp /usr/local/ispconfig/server/conf/error/ " .substr (escapeshellcmd ($ conf ["language " ]),0 ,2 )."/* " .$ error_page_path );
331331 }
332332 }
333- exec ("chmod -R +r " .$ error_page_path );
333+ exec ("chmod -R a +r " .$ error_page_path );
334334 }
335335
336336 // copy the standard index page
@@ -348,7 +348,7 @@ function update($event_name,$data) {
348348 exec ("cp /usr/local/ispconfig/server/conf/index/.htaccess " .escapeshellcmd ($ data ["new " ]["document_root " ])."/web/ " );
349349 }
350350 }
351- exec ("chmod +r " .escapeshellcmd ($ data ["new " ]["document_root " ])."/web " );
351+ exec ("chmod -R a +r " .escapeshellcmd ($ data ["new " ]["document_root " ])."/web/ " );
352352 }
353353
354354 // Create group and user, if not exist
You can’t perform that action at this time.
0 commit comments