fix stats-alias-path for subdomains with parent having speciallogfile == 1
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -1035,7 +1035,7 @@ class Apache extends HttpConfigBase
|
||||
$statTool = Settings::Get('system.traffictool');
|
||||
$statDomain = "";
|
||||
if ($domain['speciallogfile'] == '1') {
|
||||
$statDomain = "/" . $domain['domain'];
|
||||
$statDomain = "/" . (($domain['parentdomainid'] == '0') ? $domain['domain'] : $domain['parentdomain']);
|
||||
}
|
||||
$statDocroot = FileDir::makeCorrectFile($domain['customerroot'] . '/' . $statTool . $statDomain);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user