- suppressing error msg in case there is an error
This commit is contained in:
parent
3d819297b9
commit
600f80e03f
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ class Application_Model_Preference
|
||||||
|
|
||||||
public static function SetStationLogo($imagePath){
|
public static function SetStationLogo($imagePath){
|
||||||
if(!empty($imagePath)){
|
if(!empty($imagePath)){
|
||||||
$image = file_get_contents($imagePath);
|
$image = @file_get_contents($imagePath);
|
||||||
$image = base64_encode($image);
|
$image = base64_encode($image);
|
||||||
Application_Model_Preference::SetValue("logoImage", $image);
|
Application_Model_Preference::SetValue("logoImage", $image);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue