mercredi 16 mars 2016

Get base path in laravel 5.2

My project is under /var/www/Working-copy/

mysite is my project.

Now My problem is that when i use base_path it gives me

/var/www/Working-copy/mysite/

But i want only /Working-copy/mysite/. i am using base_path under /resources/views/company/view.blade.php. I want to use laravel functions. so is there any function available like base_path? I search for it, i can't find proper resource.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire