-
Notifications
You must be signed in to change notification settings - Fork 20
removeCSPDirective
Aidan Woods edited this page Jul 16, 2017
·
2 revisions
void removeCSPDirective (
string $directive
[, mixed $reportOnly = null ]
)
Remove a previously added directive from CSP.
The directive (case insensitive) to remove.
Loosely casted as a boolean, true
ensures the function acts on the
report only policy, false
(the default, as null
casts to false)
ensures the function acts on the enforced policy.