Changeset 12925


Ignore:
Timestamp:
01/19/12 13:05:58 (8 years ago)
Author:
plg
Message:

compatible with multisite for loading local language files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/ContactForm/classes/cf_plugin.class.php

    r12697 r12925  
    7272    // Include language advices 
    7373    load_language('plugin.lang', CF_PATH); 
    74         load_language('lang', PHPWG_ROOT_PATH.'local/', array('no_fallback'=>true, 'local'=>true) );  
     74    load_language('lang', PHPWG_ROOT_PATH.PWG_LOCAL_DIR, array('no_fallback'=>true, 'local'=>true) ); 
    7575     
    7676    if (!isset($block_mbMenu->data[CF_MENUBAR_KEY])) { 
     
    477477      // Include language advices 
    478478      load_language('plugin.lang', CF_PATH); 
    479           load_language('lang', PHPWG_ROOT_PATH.'local/', array('no_fallback'=>true, 'local'=>true) ); 
     479      load_language('lang', PHPWG_ROOT_PATH.PWG_LOCAL_DIR, array('no_fallback'=>true, 'local'=>true) ); 
    480480       
    481481      $infos['cf_id'] = rand(); 
Note: See TracChangeset for help on using the changeset viewer.