Skip to content

Make "APP_DEBUG" mode fallback to "APP_ENV !== prod" #239

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

Merged
1 commit merged into from
Nov 7, 2017
Merged

Make "APP_DEBUG" mode fallback to "APP_ENV !== prod" #239

1 commit merged into from
Nov 7, 2017

Conversation

nicolas-grekas
Copy link
Member

Q A
License MIT

So that setting "-e prod" or APP_ENV=prod is enough to turn APP_DEBUG to false.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request passes validation.

@ghost ghost merged commit b758d3a into symfony:master Nov 7, 2017
ghost pushed a commit that referenced this pull request Nov 7, 2017
@nicolas-grekas nicolas-grekas deleted the app-debug branch November 7, 2017 17:56
javiereguiluz added a commit to symfony/demo that referenced this pull request Nov 10, 2017
…javiereguiluz)

This PR was squashed before being merged into the master branch (closes #696).

Discussion
----------

Add a APP_DEBUG fallback in console and front controller

This was recently changed in the official Symfony Flex recipes. See symfony/recipes#239

Commits
-------

f9a3f6c Add a APP_DEBUG fallback in console and front controller
sayjun0505 added a commit to sayjun0505/sym_proj that referenced this pull request Apr 16, 2023
…javiereguiluz)

This PR was squashed before being merged into the master branch (closes #696).

Discussion
----------

Add a APP_DEBUG fallback in console and front controller

This was recently changed in the official Symfony Flex recipes. See symfony/recipes#239

Commits
-------

f9a3f6c Add a APP_DEBUG fallback in console and front controller
spider-yamet added a commit to spider-yamet/sym_proj that referenced this pull request Apr 16, 2023
…javiereguiluz)

This PR was squashed before being merged into the master branch (closes #696).

Discussion
----------

Add a APP_DEBUG fallback in console and front controller

This was recently changed in the official Symfony Flex recipes. See symfony/recipes#239

Commits
-------

f9a3f6c Add a APP_DEBUG fallback in console and front controller
frederickboyd added a commit to frederickboyd/frederickboyd that referenced this pull request May 25, 2025
…javiereguiluz)

This PR was squashed before being merged into the master branch (closes #696).

Discussion
----------

Add a APP_DEBUG fallback in console and front controller

This was recently changed in the official Symfony Flex recipes. See symfony/recipes#239

Commits
-------

f9a3f6c Add a APP_DEBUG fallback in console and front controller
This pull request was closed.
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.

3 participants