install/includes/common.php
changeset 349 fdaf9070566c
parent 348 87e08a6e4fec
child 354 979d99a0b00e
equal deleted inserted replaced
348:87e08a6e4fec 349:fdaf9070566c
   111     $meta = $json->decode($meta);
   111     $meta = $json->decode($meta);
   112     if ( isset($meta['lang_name_english']) && isset($meta['lang_name_native']) && isset($meta['lang_code']) )
   112     if ( isset($meta['lang_name_english']) && isset($meta['lang_name_native']) && isset($meta['lang_code']) )
   113     {
   113     {
   114       $languages[$meta['lang_code']] = array(
   114       $languages[$meta['lang_code']] = array(
   115           'name' => $meta['lang_name_native'],
   115           'name' => $meta['lang_name_native'],
       
   116           'name_eng' => $meta['lang_name_english'],
   116           'dir' => $dh
   117           'dir' => $dh
   117         );
   118         );
   118     }
   119     }
   119   }
   120   }
   120 }
   121 }