projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix #8131 - chinese translations
[Pman.Core]
/
DataObjects
/
Core_group_right.php
diff --git
a/DataObjects/Core_group_right.php
b/DataObjects/Core_group_right.php
index
8226b60
..
36d338e
100755
(executable)
--- a/
DataObjects/Core_group_right.php
+++ b/
DataObjects/Core_group_right.php
@@
-13,7
+13,7
@@
*
*
*/
*
*
*/
-require_once 'DB/DataObject.php';
+
class_exists('DB_DataObject') ? '' :
require_once 'DB/DataObject.php';
class Pman_Core_DataObjects_Core_group_right extends DB_DataObject
class Pman_Core_DataObjects_Core_group_right extends DB_DataObject
@@
-179,7
+179,7
@@
class Pman_Core_DataObjects_Core_group_right extends DB_DataObject
// since these are critical files.. die'ing with error is ok.
die("invalid json file: " . $fn);
}
// since these are critical files.. die'ing with error is ok.
die("invalid json file: " . $fn);
}
-
echo '<PRE>';print_r($ar);exit
;
+
// echo '<PRE>';print_r($ar)
;
foreach($ar as $k=> $perm) {
if ($k[0] == '/') {
continue; // it's a comment..
foreach($ar as $k=> $perm) {
if ($k[0] == '/') {
continue; // it's a comment..