TrustedProxy
TrustedProxy copied to clipboard
fix "failed to open required file" for config file
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.
Any idea on if this'll break for those not using it within a phar?