diff options
author | MaZderMind | 2015-07-03 13:09:15 +0200 |
---|---|---|
committer | MaZderMind | 2015-07-03 13:09:15 +0200 |
commit | b2cdfa500fa2ae85079e61be4a767b2960e47601 (patch) | |
tree | 826c5d169bb1bc2ce8afec22e40a1de15eaf2185 /config.php | |
parent | fa9baf320c7d4ffda01dbc1509a54390cc9bd1db (diff) |
ssl() and proto() helper to keep visitors on their url scheme
Diffstat (limited to '')
-rw-r--r-- | config.php | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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( /** |