includes/lang.php
changeset 654 18dbf386d356
parent 626 be0e904eec17
child 668 0631e4de5de6
equal deleted inserted replaced
653:3ea1c552e734 654:18dbf386d356
   159         while ( $row = $db->fetchrow() );
   159         while ( $row = $db->fetchrow() );
   160         // all done fetching
   160         // all done fetching
   161         $this->merge($strings);
   161         $this->merge($strings);
   162         $this->regen_caches(false);
   162         $this->regen_caches(false);
   163       }
   163       }
       
   164       /*
   164       else
   165       else
   165       {
   166       {
   166         if ( !defined('ENANO_ALLOW_LOAD_NOLANG') )
   167         if ( !defined('ENANO_ALLOW_LOAD_NOLANG') )
   167           $db->_die('lang.php - No strings for language ' . $this->lang_code);
   168           $db->_die('lang.php - No strings for language ' . $this->lang_code);
   168       }
   169       }
       
   170       */
   169     }
   171     }
   170   }
   172   }
   171   
   173   
   172   /**
   174   /**
   173    * Loads a file from the disk cache (treated as PHP) and merges it into RAM.
   175    * Loads a file from the disk cache (treated as PHP) and merges it into RAM.