GitHost.io will be shut down on June 1, 2019. At that point this instance will be unreachable and all data will be irrevocably deleted. More details at https://about.gitlab.com/gitlab-hosted/#githost-is-shutting-down-on-june-1st-2019

Commit 4d10584c authored by Mike Sheldon's avatar Mike Sheldon

Merge branch 'master' of gitorious.org:~Elleo/foocorp/elleos-gnu-fm

parents 0c491b64 8c096fd5
......@@ -39,6 +39,7 @@ $adodb->Execute('DELETE FROM Radio_Sessions WHERE expires < ' . (int)(time()));
$adodb->Execute('INSERT INTO Radio_Sessions (username, session, expires) VALUES ( ' . $adodb->qstr($username) . ', ' . $adodb->qstr($session) . ', ' . (int)(time() + 259200) . ')');
$radio_base = preg_replace('/https?:\/\//i', '', $base_url, 1);
$radio_base = preg_replace('/^\/\//', '', $radio_base, 1);
echo 'session=' . $session . "\n";
echo "stream_url=this.is.broken.{$username}.example.com\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment