- suppressing error msg in case there is an error
This commit is contained in:
parent
3d819297b9
commit
600f80e03f
|
@ -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…
Reference in New Issue