Bir değişiklik olmadı.
public function original( $photo, $filename , $config_extension=null )
{
$path = Config::get('images.full_size');
return $path;
if ($config_extension != null) {
$path = Config::get('images.'.$config_extension);
}
$manager = new ImageManager();
$image = $manager->make( $photo )->save( $path . $filename );
return $image;
}
path i çektiğim yer burası
config\images.php dosyamda aşağıdaki giib
return [
'full_size' => env('UPLOAD_FULL_SIZE', public_path('images/full_size/')),
'slider' => env('UPLOAD_SLIDER', public_path('images/slider/')),
'blog' => env('UPLOAD_BLOG', public_path('images/blog/')),
'profile_photo' => env('UPLOAD_PROFILE_PHOTO', public_path('images/profile_photo/')),
'icon_size' => env('UPLOAD_ICON_SIZE', public_path('images/icon_size/')),
];
ben burada public_path i asset olarak değişitirince
Catchable fatal error hatası alıyorum.