I18n.php
authorAlan Knowles <alan@akbkhome.com>
Tue, 20 Jul 2010 03:16:32 +0000 (11:16 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 20 Jul 2010 03:16:32 +0000 (11:16 +0800)
I18n.php

index 00d2b1f..50c1ad5 100644 (file)
--- a/I18n.php
+++ b/I18n.php
@@ -81,10 +81,13 @@ class Pman_Core_i18N extends Pman
         //}
         $this->authUser = $au;
         
-        $opts = PEAR::getStaticProperty('Pman_I18N', 'options');
+        $opts = PEAR::getStaticProperty('Pman_Core_I18N', 'options');
+        if (empty($opts) {
+            $opts = PEAR::getStaticProperty('Pman_I18N', 'options');
+        }
         $opts = empty($opts)  ?  array() : $opts;
         
-        
+        // load the cofiguration
         foreach($opts as $k=>$v) {
             
             if ($v == '*') {