View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 374 | WADF | Core | public | 18 Oct 2010 08:53 | 24 Nov 2011 21:37 |
| Reporter | mrosenquist | Assigned To | |||
| Priority | normal | Severity | feature | Reproducibility | N/A |
| Status | new | Resolution | open | ||
| Product Version | 0.13.5 | ||||
| Summary | 374: Automatically evaluate values of error_reporting containing E_* constants when generating mod_php config | ||||
| Description | Automatically change error constants for their equivalent value (relative to the install version of php) when generating mod_php values for error_reporting, because constants are not valid in mod_php configs according to http://php.net/manual/en/configuration.changes.php | ||||
| Tags | No tags attached. | ||||
|
|
It would be kind of cool, but again it seems to be getting a bit magic and beyond templating. Also it would mean having to dig around specifically to find the PHP config option "error_reporting" (and any others which might include E_* constants), *and* evaluate (correctly) those. It all sounds a bit error-prone and magic really so my inclination would be to not do this at a WADF level. However this is a bit like bug 385. Maybe there should be some kind of hook/callback mechanism for validation and/or modification of files that are undergoing template processing? |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 18 Oct 2010 08:53 | mrosenquist | New Issue | |
| 18 Oct 2010 10:39 | timj | Summary | Automatically change error constants for there equivalent value (relative to the version of php) when generating mod_php values => Automatically evaluate values of error_reporting containing E_* constants when generating mod_php config |
| 18 Oct 2010 10:39 | timj | Description Updated | |
| 24 Nov 2011 21:37 | timj | Note Added: 419 |