Change how station logo default is returned

This commit is contained in:
Duncan Sommerville 2015-11-17 18:58:58 -05:00
parent e75d614537
commit 1571887928
5 changed files with 6 additions and 9 deletions

View file

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