HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Re: How to override functions (Vanilla 3.3)?
Thanks for the clarification @R_J . If at all possible maybe you or some other moderator/admin could update the docs with that information. I'm sure it would help others, as well. Yeah, the checkPermission function wasn't the right place for me to do anything. I was just trying to get the function override to work before… -
Re: How to override functions (Vanilla 3.3)?
It is only fired once per request, but there is more than one request per page view - somehow... I just threw together this: public function gdn_dispatcher_appStartup_handler($sender) { $request = Gdn::request(); Gdn::set('debug_'.microtime(), $request->getMethod().': '.$request->getPath()); } The result of this and…
2 results