redray
2008-12-18 bc41f9710f2f944a5072e7335088bd776c26616e
chomod now recursive
1 files modified
4 ■■■■ changed files
server/plugins-available/apache2_plugin.inc.php 4 ●●●● patch | view | raw | blame | history
server/plugins-available/apache2_plugin.inc.php
@@ -330,7 +330,7 @@
                        exec("cp /usr/local/ispconfig/server/conf/error/".substr(escapeshellcmd($conf["language"]),0,2)."/* ".$error_page_path);
                    }
                }
                exec("chmod -R +r ".$error_page_path);
                exec("chmod -R a+r ".$error_page_path);
            }
            // copy the standard index page
@@ -348,7 +348,7 @@
                    exec("cp /usr/local/ispconfig/server/conf/index/.htaccess ".escapeshellcmd($data["new"]["document_root"])."/web/");
                }
            }
            exec("chmod +r ".escapeshellcmd($data["new"]["document_root"])."/web");
            exec("chmod -R a+r ".escapeshellcmd($data["new"]["document_root"])."/web/");
        }
        
        // Create group and user, if not exist