chore(legacy): use Config::getPublicUrl helper

Replace Application_Common_HTTPHelper::getStationUrl with Config::getPublicUrl.
This commit is contained in:
jo 2022-07-07 23:32:43 +02:00 committed by Kyle Robbertze
parent 72960593c7
commit 829b9bcd5b
17 changed files with 23 additions and 51 deletions

View file

@ -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