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
1 changed files with 1 additions and 1 deletions
|
@ -626,7 +626,7 @@ class Application_Model_Preference
|
||||||
}
|
}
|
||||||
// We return the Airtime logo if no logo is set in the database.
|
// We return the Airtime logo if no logo is set in the database.
|
||||||
// airtime_logo.png is stored under the public directory
|
// 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);
|
return base64_encode($image);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue