vendredi 24 mai 2019

How to create directory in Ubuntu using Laravel?

I want to create a directory for each user when they activated their account in laravel Usercontroler.

but it doesn't work with below code

 $path = '/var/www/dngo/files/local/' . $object->id;
 File::makeDirectory($path, $mode = 0777, true, true);

*Apache Document root is /var/www/dngo/public

*Ubuntu VPS is18.10 and hosted on digitalocean.



from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2Woc836
via IFTTT

Aucun commentaire:

Enregistrer un commentaire