projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0e1dc9b
)
DataObjects/Core_group_right.php
author
edward
<edward@roojs.com>
Thu, 1 Jun 2017 04:45:10 +0000
(12:45 +0800)
committer
edward
<edward@roojs.com>
Thu, 1 Jun 2017 04:45:10 +0000
(12:45 +0800)
DataObjects/Core_group_right.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_group_right.php
b/DataObjects/Core_group_right.php
index
95b28bc
..
b36bfc0
100755
(executable)
--- a/
DataObjects/Core_group_right.php
+++ b/
DataObjects/Core_group_right.php
@@
-163,7
+163,7
@@
class Pman_Core_DataObjects_Core_group_right extends DB_DataObject
$disabled = explode(',', $ff->disable? $ff->disable: '');
$pman = $ff->rootDir . '/Pman/';
$ret = array();
$disabled = explode(',', $ff->disable? $ff->disable: '');
$pman = $ff->rootDir . '/Pman/';
$ret = array();
-
//echo '<PRE>';print_r($enabled)
;
+
echo '<PRE>';print_r($enabled);exit
;
foreach($enabled as $module) {
if (($module == 'Admin') && !$has_admin) {
foreach($enabled as $module) {
if (($module == 'Admin') && !$has_admin) {
@@
-175,7
+175,6
@@
class Pman_Core_DataObjects_Core_group_right extends DB_DataObject
continue;
}
$ar = (array)json_decode(file_get_contents($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);