Skip to content

Commit 2ceb6eb

Browse files
committed
relocated comment
1 parent a139177 commit 2ceb6eb

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -186,11 +186,6 @@ public function onRunJob() {
186186
}
187187

188188

189-
/*
190-
* GoAccess removed with 1.4 B+Tree support and supports from this version on only "In-Memory with On-Disk Persistance Storage".
191-
* For versions prior 1.4 you need GoAccess with B+Tree support compiled!
192-
*/
193-
194189
$sql_user = "SELECT client_id FROM sys_group WHERE groupid = ?";
195190
$rec_user = $app->db->queryOneRecord($sql_user, $rec['sys_groupid']);
196191
$lang_query = "SELECT country,language FROM client WHERE client_id = ?";
@@ -228,6 +223,12 @@ public function onRunJob() {
228223
break;
229224
}
230225

226+
227+
/*
228+
* GoAccess removed with 1.4 B+Tree support and supports from this version on only "In-Memory with On-Disk Persistance Storage".
229+
* For versions prior 1.4 you need GoAccess with B+Tree support compiled!
230+
*/
231+
231232
if(version_compare($goaccess_version,1.4) >= 0) {
232233
$app->system->exec_safe("LANG=? goaccess -f ? --config-file ? --restore --persist --db-path=? --output=?", $cust_lang, $logfile, $goaccess_conf, $goa_db_dir, $output_html);
233234
} else {

0 commit comments

Comments
 (0)