Skip to content

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

Merged
AenBleidd merged 1 commit intomasterfrom
dpa_display_errors
Jan 19, 2024
Merged

web: showing PHP errors on web pages is optional#5493
AenBleidd merged 1 commit intomasterfrom
dpa_display_errors

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
@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

Archived in project

Development

Successfully merging this pull request may close these issues.

PHP warnings and errors are displayed by default

2 participants