includes/lang.php
changeset 335 67bd3121a12e
parent 334 c72b545f1304
child 345 4ccdfeee9a11
equal deleted inserted replaced
334:c72b545f1304 335:67bd3121a12e
   316     {
   316     {
   317       $langdata = enano_json_decode($contents);
   317       $langdata = enano_json_decode($contents);
   318     }
   318     }
   319     catch(Zend_Json_Exception $e)
   319     catch(Zend_Json_Exception $e)
   320     {
   320     {
   321       $db->_die('lang.php - Exception caught by JSON parser');
   321       $db->_die('lang.php - Exception caught by JSON parser</p><pre>' . htmlspecialchars(print_r($e, true)) . '</pre><p>');
   322       exit;
   322       exit;
   323     }
   323     }
   324     
   324     
   325     if ( !is_array($langdata) )
   325     if ( !is_array($langdata) )
   326     {
   326     {