diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2025-10-19 15:04:15 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-10-19 15:04:15 +0200 |
| commit | 9f7b24bb6177d65e0b9d1b77a578c50af9c7f493 (patch) | |
| tree | 70bb59ca2e5f4fd420f6638d237cbbe6a45ac31c /config.php.sample | |
| parent | 64e898aa9b0a7faf1184ded80636b28fd0c32e88 (diff) | |
| download | punktestand-9f7b24bb6177d65e0b9d1b77a578c50af9c7f493.tar.gz punktestand-9f7b24bb6177d65e0b9d1b77a578c50af9c7f493.zip | |
unterstützte konfigurierbare "Streaks"
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.
Diffstat (limited to 'config.php.sample')
| -rw-r--r-- | config.php.sample | 22 |
1 files changed, 13 insertions, 9 deletions
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 @@ <?php $CONFIG = array( + /* Konfiguration für eine MySQL/MariaDB Datenbank */ 'dbtype' => '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', +); ?> |
