remove class name from icon name
This commit is contained in:
parent
2507cda94c
commit
af04781830
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ abstract class SupportedApps
|
|||
public static function saveApp($details, $app)
|
||||
{
|
||||
$img_src = app_path('SupportedApps/'.className($details->name).'/'.$details->icon);
|
||||
$img_dest = public_path('storage/supportedapps/'.className($details->icon));
|
||||
$img_dest = public_path('storage/supportedapps/'.$details->icon);
|
||||
//die("i: ".$img_src);
|
||||
copy($img_src, $img_dest);
|
||||
|
||||
|
|
Loading…
Reference in a new issue