Bugfixes awstats
This commit is contained in:
parent
d8b5856179
commit
b7e10ba679
|
@ -712,6 +712,8 @@ class m_aws {
|
|||
$f=fopen($this->CONFDIR."/awstats.".$hostname.".conf","wb");
|
||||
fputs($f,$s,strlen($s));
|
||||
fclose($f);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -71,7 +71,8 @@ EOF
|
|||
chown alterncpanel:root /var/cache/awstats
|
||||
|
||||
# Update rights on previous user's awstats configuration files
|
||||
chown alterncpanel:alterncpanel /etc/awstats/awstats.*.conf > /dev/null 2>&1
|
||||
chown alterncpanel:root /etc/awstats/awstats.*.conf > /dev/null 2>&1
|
||||
chown alterncpanel:alterncpanel /var/cache/awstats/* > /dev/null 2>&1
|
||||
|
||||
# ADD menu item :
|
||||
if ! grep -q "^menu_aws.php$" "$MENUFILE"; then
|
||||
|
|
Loading…
Reference in New Issue