cclaerhout
Well-known member
@XxUnkn0wnxX
#466, #469 & #477.
@digitalpoint
#466, #469 & #477.
@digitalpoint
- I don't understand why setting a session is a bad thing even for an external request. You can still use this kind of code if you don't want the $this->_request:
PHP:protected function _setupSession($action) { XenForo_Session::startPublicSession(); }
- It's not that I don't want to add supplementary code in my code, but this would apply to copy the all get method to customize it. That's not very sexy.
- If you want don't want to create a session, at least disable listeners for other addons:
PHP:protected function _preDispatchFirst($action) { XenForo_CodeEvent::removeListeners(); }