aboutsummaryrefslogtreecommitdiff
path: root/config.php
diff options
context:
space:
mode:
authorMaZderMind2015-07-03 13:09:15 +0200
committerMaZderMind2015-07-03 13:09:15 +0200
commitb2cdfa500fa2ae85079e61be4a767b2960e47601 (patch)
tree826c5d169bb1bc2ce8afec22e40a1de15eaf2185 /config.php
parentfa9baf320c7d4ffda01dbc1509a54390cc9bd1db (diff)
ssl() and proto() helper to keep visitors on their url scheme
Diffstat (limited to 'config.php')
-rw-r--r--config.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/config.php b/config.php
index 744bcf7..6faf9fb 100644
--- a/config.php
+++ b/config.php
@@ -6,8 +6,12 @@ date_default_timezone_set('Europe/Berlin');
* In Produktionssituationen sollte manuell eine konfiguriert werden um Überraschungen zu vermeiden
*/
if($_SERVER['HTTP_HOST'] != 'localhost')
- $GLOBALS['CONFIG']['BASEURL'] = 'http://streaming.media.ccc.de/';
+ $GLOBALS['CONFIG']['BASEURL'] = proto().'://streaming.media.ccc.de/';
+/**
+ * Beispielkonfiguration für Produktionssituationen
+ */
+//$GLOBALS['CONFIG']['BASEURL'] = proto().'://streaming.media.ccc.de/';
$GLOBALS['CONFIG']['CONFERENCE'] = array(
/**