dimanche 26 novembre 2017

How to set require path in Laravel controller?

I have an controller in default path of Laravel project

/app/Http/Controllers/PaymentController.php

In the same path there is an directory:

/app/Http/Controllers/merchant/

with files inside.

I tried to include one file from this directory in controller like:

require_once './private/filter/filter.php';

But it does not work. What do I do wrong, or Laravel does not allow to do this?



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

Aucun commentaire:

Enregistrer un commentaire