From: Chris Date: Thu, 3 Jan 2013 11:09:32 +0000 (+0800) Subject: DataObjects/I18n.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=621384548df0cdbabe17a1309e5ce06417f4f383 DataObjects/I18n.php --- diff --git a/DataObjects/I18n.php b/DataObjects/I18n.php index 6e1b81a3..1dc42b89 100644 --- a/DataObjects/I18n.php +++ b/DataObjects/I18n.php @@ -178,10 +178,10 @@ class Pman_Core_DataObjects_I18n extends DB_DataObject require_once 'I18Nv2/Language.php'; $c = new I18Nv2_Language('en'); $ret = array_keys($c->codes); // we need to make sure these are lowercase!!! - print_r($cfg['add_l']);exit; - $tolang = explode('_', array_keys($cfg['add_l'])); - $tolang[0] = strtolower($tolang[0]); - implode('_', $tolang); +// print_r($cfg['add_l']);exit; +// $tolang = explode('_', array_keys($cfg['add_l'])); +// $tolang[0] = strtolower($tolang[0]); +// implode('_', $tolang); foreach ($cfg['add_l'] as $k=>$v){ $tolang = explode('_', $k); $tolang[0] = strtolower($tolang[0]);