Ignore:
Timestamp:
07/02/14 10:12:16 (5 years ago)
Author:
mistic100
Message:

feature 3046: Add option "force_fallback" to load_language + clean code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_mail.inc.php

    r28587 r28913  
    309309    { 
    310310      foreach ($language_files as $dirname => $files) 
    311         foreach ($files as $filename) 
    312           load_language($filename, $dirname, array('language'=>$language) ); 
     311      { 
     312        foreach ($files as $filename => $options) 
     313        { 
     314          $options['language'] = $language; 
     315          load_language($filename, $dirname, $options); 
     316        } 
     317      } 
    313318    } 
    314319     
     
    331336 * Switch back language pushed with switch_lang_to() function. 
    332337 * @see switch_lang_to() 
     338 * Language files are not reloaded 
    333339 */ 
    334340function switch_lang_back() 
Note: See TracChangeset for help on using the changeset viewer.