#968 - White-listing of files that bypass Composr's strict mode
| Identifier | #968 |
|---|---|
| Issue type | Feature request or suggestion |
| Title | White-listing of files that bypass Composr's strict mode |
| Status | Closed (no changes needed) |
| Handling member | Chris Graham |
| Addon | core |
| Description | Composr calls destrictify() function when requiring up code in a custom folder. This is because this kind of code is often third-party, so might not meet our strict standards - e.g. support for MySQL strict mode, or being able to run in a low memory limit.
Instead of always calling this, only call it when the file to be included contains the string '@author' (a common string in third party code files). |
| Steps to reproduce | |
| Additional information | We will need to go through our use of libraries to ensure they have @author defined for them. |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Comments