aboutsummaryrefslogtreecommitdiff
path: root/config.php.sample
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2025-09-07 16:24:04 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2025-09-07 16:24:04 +0200
commitbc7b48f1d8321dc01d448cdeda025acf19e58e71 (patch)
tree3682b9b2abf6c60f44d80f1666624ee6efb082ca /config.php.sample
downloadpunktestand-bc7b48f1d8321dc01d448cdeda025acf19e58e71.tar.gz
punktestand-bc7b48f1d8321dc01d448cdeda025acf19e58e71.zip
initial commit
Diffstat (limited to 'config.php.sample')
-rw-r--r--config.php.sample18
1 files changed, 18 insertions, 0 deletions
diff --git a/config.php.sample b/config.php.sample
new file mode 100644
index 0000000..ac09910
--- /dev/null
+++ b/config.php.sample
@@ -0,0 +1,18 @@
+<?php
+$CONFIG = array(
+ 'dbtype' => 'mysql',
+ 'dbname' => 'punktestand',
+ 'dbhost' => 'localhost',
+ 'dbuser' => 'user',
+ 'dbpassword' => 'password',
+ 'icon_path_format' => 'img/$SCHULJAHR/$JAHRGANG/'
+);
+
+/* Konfiguration für eine sqlite Datenbank
+ * $CONFIG = array(
+ * 'dbtype' => 'sqlite',
+ * 'dbname' => './punktestand.sqlite',
+ * 'icon_path_format' => 'img/$SCHULJAHR/$JAHRGANG/'
+ * );
+ */
+?>