if(($request->hasFile('system_info_favicon'))){
$file = $request->file('system_info_favicon');
if($file->isValid()){
if ($im = @imagecreatefrompng($_FILES['system_info_favicon']['tmp_name']) or $im = @imagecreatefromgif($_FILES['system_info_favicon']['tmp_name']) or $im = @imagecreatefromjpeg($_FILES['system_info_favicon']['tmp_name'])) {
$imginfo = @getimagesize($_FILES['system_info_favicon']['tmp_name']);
if (!is_array($imginfo)) {