Browse Source

fix copy failing

pull/308/head
Kode 6 years ago
parent
commit
067f82b632
  1. 4
      app/SupportedApps.php

4
app/SupportedApps.php

@ -129,6 +129,10 @@ abstract class SupportedApps
public static function saveApp($details, $app)
{
if(!file_exists(public_path('storage/icons'))) {
mkdir(public_path('storage/icons'), 0777, true);
}
$img_src = app_path('SupportedApps/'.className($details->name).'/'.$details->icon);
$img_dest = public_path('storage/icons/'.$details->icon);
//die("i: ".$img_src);

Loading…
Cancel
Save