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
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue