View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002290 | Composr | core | public | 2016-03-14 19:50 | 2016-07-15 13:23 |
Reporter | Chris Graham | Assigned To | Chris Graham | ||
Severity | Feature-request | ||||
Status | resolved | Resolution | fixed | ||
Product Version | |||||
Fixed in Version | |||||
Summary | 0002290: New is_cli function | ||||
Description | We have this pattern copy and pasted in our code a lot: ((php_function_allowed('php_sapi_name')) && (php_sapi_name() == 'cli') && (cms_srv('REMOTE_ADDR') == '')); Move this to a proper function, as the code is a bit complex. | ||||
Tags | No tags attached. | ||||
Time estimation (hours) | 1 | ||||
Sponsorship open | |||||
|
Also standardise the 'no_fatal_cron_errors' parameter, into a is_headless function, based off is_cli combined with 'no_fatal_cron_errors'. |
|
Implemented. My comment doesn't apply, as PHP notices can now be ignored via setup. |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-03-14 19:50 | Chris Graham | New Issue | |
2016-03-14 19:57 | Chris Graham | Note Added: 0003439 | |
2016-07-15 13:22 | Chris Graham | Note Added: 0004134 | |
2016-07-15 13:22 | Chris Graham | Status | non-assigned => resolved |
2016-07-15 13:22 | Chris Graham | Resolution | open => fixed |
2016-07-15 13:22 | Chris Graham | Assigned To | => Chris Graham |