From 9f7b24bb6177d65e0b9d1b77a578c50af9c7f493 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sun, 19 Oct 2025 15:04:15 +0200 Subject: =?UTF-8?q?unterst=C3=BCtzte=20konfigurierbare=20"Streaks"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ein Streak ist ein Zeitraum der zählt wie viele gleiche Ereignisse in zeitlicher Folge aufgetreten sind. Ein Streak wird durch ein nicht positives Ereignis beendet. --- config.php.sample | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'config.php.sample') diff --git a/config.php.sample b/config.php.sample index 2ca654f..3fed3bc 100644 --- a/config.php.sample +++ b/config.php.sample @@ -1,18 +1,22 @@ 'mysql', 'dbname' => 'punktestand', 'dbhost' => 'localhost', 'dbuser' => 'user', 'dbpassword' => 'password', - 'bilder_pfad_format' => 'img/$SCHULJAHR/$JAHRGANG/' -); -/* Konfiguration für eine sqlite Datenbank - * $CONFIG = array( - * 'dbtype' => 'sqlite', - * 'dbname' => './punktestand.sqlite', - * 'bilder_pfad_format' => 'img/$SCHULJAHR/$JAHRGANG/' - * ); - */ + /* Konfiguration für eine sqlite Datenbank + * 'dbtype' => 'sqlite', + * 'dbname' => './punktestand.sqlite', + */ + + 'bilder_pfad_format' => 'img/$SCHULJAHR/$JAHRGANG/', + + /* Konfiguration für die Streak-Anzeige */ + 'streak_anzahl' => 5, + 'streak_ziel' => '🍰', + 'streak_ereignis' => 'Kuchenpunkt', +); ?> -- cgit v1.2.3