Ignore:
Timestamp:
11/06/07 18:22:00 (5 years ago)
Author:
root
Message:

Updated the modules to use the new locale_load() function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/common/mail2forum/php-files/modules/mail2forum/m2f_smtp.php

    r1061 r1074  
    3232require_once $webroot."includes/core_functions.php"; 
    3333 
    34 if (file_exists(PATH_MODULES."mail2forum/locale/".$settings['locale'].".php")) { 
    35     include PATH_MODULES."mail2forum/locale/".$settings['locale'].".php"; 
    36 } else { 
    37     include PATH_MODULES."mail2forum/locale/English.php"; 
    38 } 
     34locale_load("modules.mail2forum"); 
    3935 
    4036/*---------------------------------------------------+ 
Note: See TracChangeset for help on using the changeset viewer.