tbrehm
2012-02-22 e71610ed2df8d8a06aa492d014c282a9e6c371b0
Fixed: FS#2087 - Awstats on nginx
1 files modified
1 ■■■■ changed files
server/plugins-available/nginx_plugin.inc.php 1 ●●●● patch | view | raw | blame | history
server/plugins-available/nginx_plugin.inc.php
@@ -1366,6 +1366,7 @@
        }
        
        if(is_file($data['new']['document_root']."/web/stats/index.html")) unlink($data['new']['document_root']."/web/stats/index.html");
        if(!is_dir($data['new']['document_root']."/web/stats/")) mkdir($data['new']['document_root']."/web/stats");
        copy("/usr/local/ispconfig/server/conf/awstats_index.php.master",$data['new']['document_root']."/web/stats/index.php");
    }