mercredi 18 mai 2016

How to copy files in laravel 5 controller

I want copy file to folder in laravel. when I copy file show me this error

The second argument to copy() function cannot be a directory

My code:

$success = \File::copy(base_path('test.text'),base_path('public/'));



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1TYJWda
via IFTTT

Aucun commentaire:

Enregistrer un commentaire