projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2ca684f
)
DataObjects/I18n.php
author
Alan Knowles
<alan@roojs.com>
Mon, 18 Aug 2014 07:40:21 +0000
(15:40 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 18 Aug 2014 07:40:21 +0000
(15:40 +0800)
DataObjects/I18n.php
patch
|
blob
|
history
diff --git
a/DataObjects/I18n.php
b/DataObjects/I18n.php
index
36277a9
..
e287cb1
100644
(file)
--- a/
DataObjects/I18n.php
+++ b/
DataObjects/I18n.php
@@
-81,7
+81,7
@@
class Pman_Core_DataObjects_I18n extends DB_DataObject
break;
}
}
break;
}
}
-
echo '<PRE>';print_R($opts);//exit;
+
//
echo '<PRE>';print_R($opts);//exit;
// var_dump($opts);exit;
// var_dump($opts);exit;
@@
-97,7
+97,7
@@
class Pman_Core_DataObjects_I18n extends DB_DataObject
echo "$k / "; //print_R($v);
self::$cfg[$k] = is_array($v) ? $v : explode(',', $v);
}
echo "$k / "; //print_R($v);
self::$cfg[$k] = is_array($v) ? $v : explode(',', $v);
}
- // available codes recursively calls this...
+ // available codes recursively calls this...
-- so the above has to be set first..
foreach($opts as $k=>$v) {
if ($v == '*') { // everything..
foreach($opts as $k=>$v) {
if ($v == '*') { // everything..
@@
-108,10
+108,6
@@
class Pman_Core_DataObjects_I18n extends DB_DataObject
}
}
- print_R(self::$cfg);exit;
-
- die('here');
-
return self::$cfg;
return self::$cfg;