* It should eventually replace most of that..
*
*/
-require_once 'DB/DataObject.php';
+class_exists('DB_DataObject') ? '' : require_once 'DB/DataObject.php';
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('p');
+ $this->buildDB('c');
+ $this->buildDB('l');
+ $this->buildDB('m');
+ $this->buildDB('p', 'en');
return;
}
return $cfg['add_' . $type][$k];
}
- print_R($ret);exit;
+
return $ret;