Closed Bug 561832 Opened 14 years ago Closed 12 years ago

Remove PHP error suppressing (e.g. @include...)

Categories

(www.mozilla.org :: General, defect)

defect
Not set
minor

Tracking

(Not tracked)

VERIFIED WONTFIX

People

(Reporter: abuchanan, Unassigned)

Details

(Whiteboard: [betterness])

Common example: @include_once "{$config['file_root']}/blah.php"; This is generally bad practice, especially since it's commonly used on file includes. I'm not sure what was the reason to use it, since errors are turned off in production anyway. I think it keeps getting used because it's pervasive in the code. I'd like to stop using it and remove occurrences from the code.
Whiteboard: betterness
Whiteboard: betterness → [betterness]
Summary: Stop using PHP error suppressing (e.g. @include...) → Remove PHP error suppressing (e.g. @include...)
Component: www.mozilla.org/firefox → www.mozilla.org
Closing old Mozilla.org website bugs due to them not being relevant to the new Python-based Bedrock system. Re-open if this is a critical bug and should be resolved on the new system too.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Woah! I found a bug that was *actually* likely fixed by the new Bedrock system!!! Needle in a haystack...
Status: RESOLVED → VERIFIED
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in before you can comment on or make changes to this bug.