Skip to content

Instantly share code, notes, and snippets.

<?php //< Exclude this when assigning code to user.session.post_process handler
/// Application, when added _after_ user is registered, should assign 'registered' relation to all existing user records, that's by design
///
//var_dump('$event[response]', $event['response']);
/// Success checking
function isStatusSuccess($status)
{
return !empty($status) && 200 <= $status && $status < 300;