Skip to content

Conversation

@ipranjal
Copy link

@ipranjal ipranjal commented Apr 14, 2025

Thanks for this awesome library ,
I am using this as the configuration engine for scrawler framework https://github.com/scrawler-labs/scrawler

I have seen some shared hosting creating random weird files like .error_log inside config directory , this causes an error
"Class PHLAK\Config\Loaders\Error_log" not found and causes scrawler's boot process to fail

This PR checks if the relevant loader class exists for the file type , If the loader does not exists the file is ignored and other files are successfully loaded

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.

1 participant