In my Laravel application, I'm trying to make a directory. I use the following code
$localPath = 'something';
File::makeDirectory($localPath);
It creates a directory when I run my application on local server (xampp). But when I host on my application on live server, it does not create the folder locally, instead, it creates the folder on the server under the 'public' folder.
Any help ??
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire