Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix "failed to open required file" for config file #92

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Ahed91
Copy link

@Ahed91 Ahed91 commented Nov 10, 2017

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.

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.
@fideloper
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants