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

Make the non-existing file in layout.blade within project #1428

Closed
wants to merge 1 commit into from
Closed

Make the non-existing file in layout.blade within project #1428

wants to merge 1 commit into from

Conversation

marcin-jozwikowski
Copy link

If the PHPs open_basedir value is configured, any check for a file outside of given scope causes is_file(): open_basedir restriction in effect. File(/vendor/horizon/nonExistentFile) is not within the allowed path(s): error, which prevents the UI from loading.

If the PHPs `open_basedir` value is configured, any check for a file outside of given scope causes 
`is_file(): open_basedir restriction in effect. File(/vendor/horizon/nonExistentFile) is not within the allowed path(s):`
error, which prevents the UI from loading.
@driesvints
Copy link
Member

@mmachatschek how does this one compare to your own PR? #1427

@mmachatschek
Copy link
Contributor

mmachatschek commented Apr 25, 2024

@driesvints this should be fixed with #1427 as I use the public path now $nonExistentFileName = public_path('/vendor/horizon/nonExistentFile');

https://github.com/mmachatschek/horizon/blob/a6720ac880159d161aa30d3fff45c85de8d65f9a/resources/views/layout.blade.php#L2

@driesvints
Copy link
Member

Closing this one in favour of @mmachatschek's solution.

@driesvints driesvints closed this Apr 25, 2024
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.

3 participants