getIdentity(); if ($identity) { if ($identity->getAgentName() == 'accesswatch' && $identity->isNice()) { $access_watch->feedback(); } } } echo 'Ok';