projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e81d14f
)
DataObjects/Core_group_right.php
author
edward
<edward@roojs.com>
Thu, 1 Jun 2017 04:44:50 +0000
(12:44 +0800)
committer
edward
<edward@roojs.com>
Thu, 1 Jun 2017 04:44:50 +0000
(12:44 +0800)
DataObjects/Core_group_right.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_group_right.php
b/DataObjects/Core_group_right.php
index
5fd72ef
..
95b28bc
100755
(executable)
--- a/
DataObjects/Core_group_right.php
+++ b/
DataObjects/Core_group_right.php
@@
-169,12
+169,13
@@
class Pman_Core_DataObjects_Core_group_right extends DB_DataObject
if (($module == 'Admin') && !$has_admin) {
continue;
}
if (($module == 'Admin') && !$has_admin) {
continue;
}
- continue;
+
$fn = $pman. $module. '/'.$module. '.perms.json';
if (!file_exists($fn)) {
continue;
}
$ar = (array)json_decode(file_get_contents($fn));
$fn = $pman. $module. '/'.$module. '.perms.json';
if (!file_exists($fn)) {
continue;
}
$ar = (array)json_decode(file_get_contents($fn));
+ print_R($ar);exit;
if (empty($ar)) {
// since these are critical files.. die'ing with error is ok.
die("invalid json file: " . $fn);
if (empty($ar)) {
// since these are critical files.. die'ing with error is ok.
die("invalid json file: " . $fn);