tbrehm
2010-08-09 cd568a72940b3ea6766a83c1437ceb4bc3f575b7
Fixed: FS#1277 - Empty server/conf/index/.htaccess
1 files modified
3 files deleted
8 ■■■■■ changed files
server/conf/index/.htaccess patch | view | raw | blame | history
server/conf/index/favicon.ico patch | view | raw | blame | history
server/conf/index/robots.txt 2 ●●●●● patch | view | raw | blame | history
server/plugins-available/apache2_plugin.inc.php 6 ●●●● patch | view | raw | blame | history
server/conf/index/.htaccess
server/conf/index/favicon.ico
Binary files differ
server/conf/index/robots.txt
File was deleted
server/plugins-available/apache2_plugin.inc.php
@@ -415,9 +415,9 @@
                }
                else {
                    exec("cp /usr/local/ispconfig/server/conf/index/standard_index.html_".substr(escapeshellcmd($conf["language"]),0,2)." ".escapeshellcmd($data["new"]["document_root"])."/web/index.html");
                    exec("cp /usr/local/ispconfig/server/conf/index/favicon.ico ".escapeshellcmd($data["new"]["document_root"])."/web/");
                    exec("cp /usr/local/ispconfig/server/conf/index/robots.txt ".escapeshellcmd($data["new"]["document_root"])."/web/");
                    exec("cp /usr/local/ispconfig/server/conf/index/.htaccess ".escapeshellcmd($data["new"]["document_root"])."/web/");
                    if(is_file('/usr/local/ispconfig/server/conf/index/favicon.ico')) exec("cp /usr/local/ispconfig/server/conf/index/favicon.ico ".escapeshellcmd($data["new"]["document_root"])."/web/");
                    if(is_file('/usr/local/ispconfig/server/conf/index/robots.txt')) exec("cp /usr/local/ispconfig/server/conf/index/robots.txt ".escapeshellcmd($data["new"]["document_root"])."/web/");
                    if(is_file('/usr/local/ispconfig/server/conf/index/.htaccess')) exec("cp /usr/local/ispconfig/server/conf/index/.htaccess ".escapeshellcmd($data["new"]["document_root"])."/web/");
                }
            }
            exec("chmod -R a+r ".escapeshellcmd($data["new"]["document_root"])."/web/");