DataObjects/I18n.php
[Pman.Core] / DataObjects / I18n.php
index cb6d7f2..69ea11c 100644 (file)
@@ -52,7 +52,7 @@ class Pman_Core_DataObjects_I18n extends DB_DataObject
         'm' => array(
             'USD', 'HKD', 'GBP', 'CNY', 'SGD', 'JPY'
         ),
-        'p' => '*',
+        'p' => array('en'),
         'add_l'=> array(), // key -> value additional languages... 
         'add_c'=> array(), // additional countries...(eg. '-R' => 'Regional' )
         'add_m'=> array(), // additional currencies...
@@ -287,10 +287,10 @@ class Pman_Core_DataObjects_I18n extends DB_DataObject
         if ($ltype === false) {
             // trigger all builds.
             //DB_DataObject::debugLevel(1);
-            $this->buildDB('c');
-            $this->buildDB('l');
-            $this->buildDB('m');
-            $this->buildDB('t');
+//            $this->buildDB('c');
+//            $this->buildDB('l');
+//            $this->buildDB('m');
+            $this->buildDB('p');
             return;
         }