projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53aa4c1
)
VerifyAccess.php
author
edward
<edward@roojs.com>
Thu, 15 Feb 2018 05:04:02 +0000
(13:04 +0800)
committer
edward
<edward@roojs.com>
Thu, 15 Feb 2018 05:04:02 +0000
(13:04 +0800)
VerifyAccess.php
patch
|
blob
|
history
diff --git
a/VerifyAccess.php
b/VerifyAccess.php
index
5544432
..
6d4a2e2
100644
(file)
--- a/
VerifyAccess.php
+++ b/
VerifyAccess.php
@@
-47,15
+47,6
@@
class Pman_Core_VerifyAccess extends Pman
}
function post()
- {
- if(!empty($_REQUEST['_to_data'])){
- $this->toData();
- }
-
-
- }
-
- function toData()
{
$core_ip_access = DB_DataObject::factory('core_ip_access');
@@
-68,8
+59,14
@@
class Pman_Core_VerifyAccess extends Pman
$this->jerr('Invalid URL');
}
- $this->jdata($core_ip_access->toArray());
+ if(!empty($_REQUEST['_to_data'])){
+ $this->jdata($core_ip_access->toArray());
+ }
+
+
+
}
+
}