chore(legacy): use Config::getPublicUrl helper
Replace Application_Common_HTTPHelper::getStationUrl with Config::getPublicUrl.
This commit is contained in:
parent
72960593c7
commit
829b9bcd5b
17 changed files with 23 additions and 51 deletions
|
@ -20,7 +20,7 @@ abstract class ThirdPartyController extends Zend_Controller_Action
|
|||
*/
|
||||
public function init()
|
||||
{
|
||||
$this->_baseUrl = Application_Common_HTTPHelper::getStationUrl();
|
||||
$this->_baseUrl = Config::getPublicUrl();
|
||||
|
||||
$this->view->layout()->disableLayout(); // Don't inject the standard Now Playing header.
|
||||
$this->_helper->viewRenderer->setNoRender(true); // Don't use (phtml) templates
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue