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

web: showing PHP errors on web pages is optional #5493

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

davidpanderson
Copy link
Contributor

Move the code to show PHP errors into a function display_errors(). If you want to show PHP errors in web pages, call this from your project.inc.

But always show errors in:

  • admin pages
  • job submission pages
    These pages are not seen by regular users.

Fixes #5492

Move the code to show PHP errors into a function display_errors().
If you want to show PHP errors in web pages, call this from your project.inc.

But always show errors in:
- admin pages
- job submission pages
These pages are not seen by regular users.
@AenBleidd AenBleidd merged commit 0927695 into master Jan 19, 2024
80 of 84 checks passed
@AenBleidd AenBleidd deleted the dpa_display_errors branch January 19, 2024 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

PHP warnings and errors are displayed by default
2 participants