From: edward Date: Thu, 15 Feb 2018 03:23:38 +0000 (+0800) Subject: VerifyAccess.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=244ecd7c6c0dc2644980afa82659a3567bad446d VerifyAccess.php --- 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');