SAAS-876 - use baseurl for default host value
This commit is contained in:
parent
755ec79e7d
commit
683c1a4641
|
@ -32,6 +32,7 @@ define('DEFAULT_LOGO_PLACEHOLDER', 1);
|
|||
define('DEFAULT_LOGO_FILE', 'images/airtime_logo.png');
|
||||
define('DEFAULT_TIMESTAMP_FORMAT', 'Y-m-d H:i:s');
|
||||
define('DEFAULT_MICROTIME_FORMAT', 'Y-m-d H:i:s.u');
|
||||
define('DEFAULT_ICECAST_PORT', 8000);
|
||||
define('DEFAULT_ICECAST_PASS', 'hackme');
|
||||
|
||||
// Metadata Keys for files
|
||||
|
|
|
@ -279,8 +279,8 @@ class Application_Model_StreamSetting
|
|||
public static function getDefaults($prefix) {
|
||||
$config = Config::getConfig();
|
||||
return array(
|
||||
'host' => $config['stationId'] . '.out.airtime.pro',
|
||||
'port' => 8000,
|
||||
'host' => $config['baseUrl'],
|
||||
'port' => DEFAULT_ICECAST_PORT,
|
||||
'output' => 'icecast',
|
||||
'user' => $config['stationId'],
|
||||
'pass' => Application_Model_Preference::getDefaultIcecastPassword(),
|
||||
|
|
Loading…
Reference in New Issue