X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=DataObjects%2FI18n.php;h=b5f51fdfa86910dd651fc893b60b3808733dea8c;hb=0fa470d1856798db5f65cf676854d909b5dca2ba;hp=25742885628b18dadf37fb921fb01bf71cc90ff8;hpb=e4ce28b38bc2dd686197bef5ed443e346efeab00;p=Pman.Core diff --git a/DataObjects/I18n.php b/DataObjects/I18n.php index 25742885..b5f51fdf 100644 --- a/DataObjects/I18n.php +++ b/DataObjects/I18n.php @@ -74,17 +74,17 @@ class Pman_Core_DataObjects_I18n extends DB_DataObject // BC compatible.. if any of these are set, then we use them as the settings.. $opts = array(); - foreach(array('Pman_Core_I18N', 'Pman_I18N','Pman_I18n') as $pk) { + foreach(array('Pman_Core_I18n', 'Pman_Core_I18N', 'Pman_I18N','Pman_I18n') as $pk) { if (isset($ff->$pk)) { //var_dump($pk); - $opts= $ff->$pk; + $opts = $ff->$pk; break; } } //echo '
';print_R($opts);//exit;
         
          
-       //  var_dump($opts);exit;
+         var_dump($opts);exit;
         
         $i = DB_DataObject::Factory('I18n');
         // load the cofiguration
@@ -199,7 +199,7 @@ class Pman_Core_DataObjects_I18n extends DB_DataObject
     {
         $ret = array();
         $cfg = $this->cfg();
-
+        echo '
';print_r($cfg);
         switch ($t) {
             case 'c':
                 require_once 'I18Nv2/Country.php';
@@ -307,7 +307,7 @@ class Pman_Core_DataObjects_I18n extends DB_DataObject
         $complete = $x->fetchAll('lkey');
         
         $list =  $this->availableCodes($ltype);
-        echo '
'; print_r($list); 
+        //echo '
'; print_r($list); 
         
         foreach($list as $lkey) {
             // skip ones we know we have done...