projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c55d10d
)
VerifyAccess.php
author
edward
<edward@roojs.com>
Thu, 15 Feb 2018 03:23:38 +0000
(11:23 +0800)
committer
edward
<edward@roojs.com>
Thu, 15 Feb 2018 03:23:38 +0000
(11:23 +0800)
VerifyAccess.php
patch
|
blob
|
history
diff --git
a/VerifyAccess.php
b/VerifyAccess.php
index
0486eb3
..
b658e57
100644
(file)
--- 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');