Skip to content

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