fix(legacy): get local logo file (#1999)
Load logo content from the local file instead of the public location.
This commit is contained in:
parent
57d1f3a953
commit
fc856c5667
|
@ -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(Config::getPublicUrl() . DEFAULT_LOGO_FILE);
|
||||
$image = @file_get_contents(ROOT_PATH . '/public/' . DEFAULT_LOGO_FILE);
|
||||
|
||||
return base64_encode($image);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue