aboutsummaryrefslogtreecommitdiff
path: root/lib/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/config.php')
-rw-r--r--lib/config.php31
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/config.php b/lib/config.php
new file mode 100644
index 0000000..2b6b78e
--- /dev/null
+++ b/lib/config.php
@@ -0,0 +1,31 @@
+<?php
+date_default_timezone_set('Europe/Berlin');
+
+// guessed automatically
+// $GLOBALS['CONFIG']['baseurl'] = 'http://foo.com/bar/';
+
+$GLOBALS['CONFIG']['SCHEDULE'] = 'http://fahrplan.mrmcd.net/schedule.xml';
+$GLOBALS['CONFIG']['SCHEDULE_CACHE_TTL'] = 5*60;
+$GLOBALS['CONFIG']['SCHEDULE_SCALE'] = 0.2; // float, px per second
+
+$GLOBALS['CONFIG']['ROOMS'] = array(
+ 'saal1' => 'Saal 1',
+ 'saal2' => 'Saal 2',
+ 'saalg' => 'Saal G',
+ 'saal6' => 'Saal 6',
+
+ 'lounge' => 'Lounge',
+ 'ambient' => 'Ambient',
+
+ 'sendezentrum' => 'Sendezentrum',
+);
+
+$GLOBALS['CONFIG']['FORMATS'] = array(
+ 'hd' => 'FullHD',
+ 'hq' => 'High Quality',
+ 'lq' => 'Low Quality',
+ 'audio' => 'Audio',
+ 'slides' => 'Slide-Images',
+);
+
+?>