We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97caee1 commit e99063aCopy full SHA for e99063a
CONTRIBUTING.md
@@ -22,7 +22,7 @@
22
This will enable strict mode and throw an exception rather than returning `false`.
23
- `UnityHTTPD`'s user-facing error functionality (ex: `badRequest`) should only be called from `webroot/**/*.php`.
24
`resources/**/*.php` should throw exceptions instead.
25
-- all pages under `webroot/admin/` must check for `$USER->isAdmin()` and call `UnityHTTPD::forbidden()` if not admin.
+- all pages under `webroot/admin/` must check for `$USER->getFlag("admin")` and call `UnityHTTPD::forbidden()` if not admin.
26
27
This repository will automatically check PRs for linting compliance.
28
0 commit comments