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

preload.php - composer recipes #195

Closed
Chris53897 opened this issue Aug 3, 2023 · 2 comments
Closed

preload.php - composer recipes #195

Chris53897 opened this issue Aug 3, 2023 · 2 comments
Labels

Comments

@Chris53897
Copy link

I did not take a closer look, but i noticed that the preload file differs from my local.
Maybe composer recipes needs to be updated? Or is this on purpose?

https://github.com/scheb/2fa/blob/6.x/app/config/preload.php

Symfony 6.3

if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {
    require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';
}
@Chris53897 Chris53897 added the Bug label Aug 3, 2023
@scheb
Copy link
Owner

scheb commented Aug 3, 2023

That's the preload.php of my little test application, which is included in the repository in the app folder, but is not part of the library itself. Could be that Symfony has decided to change the implemention in the meantime. But I don't bother, as long as it works I'm fine with it as it is.

What I want to say: You shouldn't really use it as a reference implementation. That's not what it is. It's an application for testing purposes and not meant as a production-grade application. Use want you got generated from Symfony, that's likely the better and up-to-date way ;)

@Chris53897
Copy link
Author

Thanks for the explanation. I am aware of this. Just want to let you know ;)
And thanks for this bundle

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

No branches or pull requests

2 participants