X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=VerifyAccess.php;h=b658e57215c357dc67e22e122be6c2c511715346;hb=244ecd7c6c0dc2644980afa82659a3567bad446d;hp=0486eb38dcb0447f0c72fea38fdf8b03399020c3;hpb=c55d10df8ff4ac2d0fa6cfd71deb24fcac73a60a;p=Pman.Core diff --git a/VerifyAccess.php b/VerifyAccess.php index 0486eb38..b658e572 100644 --- a/VerifyAccess.php +++ b/VerifyAccess.php @@ -30,6 +30,10 @@ class Pman_Core_VerifyAccess extends Pman $ff = HTML_FlexyFramework::get(); + if(empty($ff->Pman['ip_management']) || empty($ff->Pman['XMPP']) || empty($ff->Pman['XMPP']['to'])) { + $this->jerr('[System Error] This site does not using IP management'); + } + $core_person = DB_DataObject::factory('core_person');