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

Removed Debug-Mode, Dev-Mode and legacy DotEnv implementation #8553

Merged
merged 4 commits into from Mar 23, 2021

Conversation

brusch
Copy link
Member

@brusch brusch commented Mar 23, 2021

Debug Mode

There's no more Pimcore specific debug mode, just use the Kernel's debug flag instead.

Dev-Mode

Set the PIMCORE_DEV_MODE environment variable instead.

DotEnv

(new Dotenv())->bootEnv(dirname(__DIR__).'/.env'); is used instead, see also:
https://github.com/symfony/demo/blob/main/public/index.php#L10

Resolves #4691

@brusch brusch added this to the 10.0.0 ("Pimcore X") milestone Mar 23, 2021
@brusch brusch merged commit d2c40d5 into master Mar 23, 2021
@brusch brusch deleted the remove-legacy.dot-env-support branch March 23, 2021 14:57
roland4432 pushed a commit to roland4432/pimcore that referenced this pull request Apr 1, 2021
…e#8553)

* Removed Debug-Mode and Dev-Mode

* fixes

* fixes

* fixes
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.

Debug-Mode independent from Environment
1 participant