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 for PHP warning "is_file(): open_basedir restriction in effect" #47

Merged
merged 2 commits into from
Sep 5, 2014
Merged

fix for PHP warning "is_file(): open_basedir restriction in effect" #47

merged 2 commits into from
Sep 5, 2014

Conversation

rindeal
Copy link
Contributor

@rindeal rindeal commented Sep 5, 2014

Tracy constantly reported this error on my host:

PHP Warning: is_file(): open_basedir restriction in effect. File(/home/users/.../user/plugins/.gitkeep/.gitkeep.yaml) is not within the allowed path(s): (/home/users/.../:/usr/share/pear/) in .../web/system/src/Grav/Common/Config.php:237

it has probably something to do with executing is_file() for a file in a non-existing dir

Example:
PHP Warning: is_file(): open_basedir restriction in effect. File(/home/users/.../user/plugins/.gitkeep/.gitkeep.yaml) is not within the allowed path(s): (/home/users/.../:/usr/share/pear/) in .../web/system/src/Grav/Common/Config.php:237
@rindeal
Copy link
Contributor Author

rindeal commented Sep 5, 2014

tested right now and it works indeed, changes committed

@rhukster
Copy link
Member

rhukster commented Sep 5, 2014

perfect, thanks!

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

Successfully merging this pull request may close these issues.

3 participants