Commit b7e10ba6 authored by Axel ROGER's avatar Axel ROGER

Bugfixes awstats

parent d8b58561
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment