View Issue Details

IDProjectCategoryView StatusLast Update
0000968Composrcorepublic2013-06-14 12:36
ReporterChris GrahamAssigned ToChris Graham 
SeverityFeature-request 
Status closedResolutionno change required 
Product Version 
Fixed in Version 
Summary0000968: White-listing of files that bypass Composr's strict mode
DescriptionComposr 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).
Additional InformationWe will need to go through our use of libraries to ensure they have @author defined for them.
TagsNo tags attached.
Time estimation (hours)3
Sponsorship open

Activities

Chris Graham

2013-06-14 12:36

administrator   ~0001495

Actually, after a code review I see we don't do this automatically, just for minimodules/blocks. We sometimes do it manually, which is better.

Issue History

Date Modified Username Field Change