From c49979d5c2595c34ecd7b42cf4ffaf1836a3ce2c Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch>
Date: Wed, 4 Sep 2019 14:56:59 +0200
Subject: [PATCH] update config

---
 classes/cronlog-renderer.class.php | 2 --
 config/inc_cronlog.php.dist        | 7 ++++++-
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/classes/cronlog-renderer.class.php b/classes/cronlog-renderer.class.php
index 538ca07..48f9aa3 100644
--- a/classes/cronlog-renderer.class.php
+++ b/classes/cronlog-renderer.class.php
@@ -1,7 +1,5 @@
 <?php
-
 require_once 'cronlog.class.php';
-
 /**
  * central cronlog viewer
  * 
diff --git a/config/inc_cronlog.php.dist b/config/inc_cronlog.php.dist
index d995fee..9804246 100644
--- a/config/inc_cronlog.php.dist
+++ b/config/inc_cronlog.php.dist
@@ -9,5 +9,10 @@ return array(
     'sDatadir'=>'__APPDIR__/data',
 
     // caching time for infos in the browser
-    'iTtlCache'=>0,
+    'iTtlCache'=>60,
+
+    // hide these cronjob labels in the web gui
+    'aHidelogs'=>array(
+        'copycronlogs',
+    )
 );
-- 
GitLab