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

Перевести config/loader.php из opendir на glob #160

Open
psnet opened this issue Oct 28, 2015 · 0 comments
Open

Перевести config/loader.php из opendir на glob #160

psnet opened this issue Oct 28, 2015 · 0 comments

Comments

@psnet
Copy link

psnet commented Oct 28, 2015

Переделать config/loader.php чтобы он не использовал opendir, вместо него посадить glob.
Это нужно чтобы убрать лишние проверки, например, такие:

https://github.com/livestreet/livestreet-framework/blob/master/config/loader.php#L48
https://github.com/livestreet/livestreet-framework/blob/master/config/loader.php#L82
https://github.com/livestreet/livestreet-framework/blob/master/config/loader.php#L99

и другие, чтобы glob сразу по маске *.php искал файлы, а не проверять всю директорию в opendir.

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

No branches or pull requests

1 participant