Skip to content

Commit 81444a9

Browse files
committed
updating the website title by the cronjob shouldn't be necessary as it should get updated by the server plugin
1 parent 57ca2d7 commit 81444a9

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

server/lib/classes/cron.d/150-goaccess.inc.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -130,14 +130,6 @@ public function onRunJob() {
130130
unset($content);
131131
}
132132

133-
/* Update the primary domain name in the title, it could occasionally change */
134-
if(is_file($goaccess_conf) && (filesize($goaccess_conf) > 0)) {
135-
$content = $app->system->file_get_contents($goaccess_conf, true);
136-
$content = preg_replace('/^(#)?html-report-title(.*)/m', "html-report-title $domain", $content);
137-
$app->system->file_put_contents($goaccess_conf, $content, true);
138-
unset($content);
139-
}
140-
141133
$username = $rec['system_user'];
142134
$groupname = $rec['system_group'];
143135
$docroot = $rec['document_root'];

0 commit comments

Comments
 (0)