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

@ -626,7 +626,7 @@ class Application_Model_Preference
}
// We return the Airtime logo if no logo is set in the database.
// airtime_logo.png is stored under the public directory
$image = @file_get_contents(Application_Common_HTTPHelper::getStationUrl() . DEFAULT_LOGO_FILE);
$image = @file_get_contents(Config::getPublicUrl() . DEFAULT_LOGO_FILE);
return base64_encode($image);
}