TrustedProxy icon indicating copy to clipboard operation
TrustedProxy copied to clipboard

fix "failed to open required file" for config file

Open Ahed91 opened this issue 7 years ago • 1 comments

This will fix "failed to open required file" When we use this package (with laravel) inside phar archive.

The problem happen because realpath will return the full path when the package no longer exist in disk.

With this pull request the path will be relative and will work inside phar archive.

Ahed91 avatar Nov 10 '17 08:11 Ahed91

Any idea on if this'll break for those not using it within a phar?

fideloper avatar Nov 27 '17 19:11 fideloper