Skip to:
Content

bbPress.org


Ignore:
Timestamp:
03/30/2008 10:36:13 AM (18 years ago)
Author:
sambauers
Message:

Various optimisations and typo fixes - Fixes #842 - props momo360modena - branches/0.8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.8/bb-includes/locale.php

    r1221 r1386  
    113113        function _load_locale_data() {
    114114                $locale = get_locale();
    115                 $locale_file = BB_PATH . "bb-includes/languages/$locale.php";
    116                 if ( !file_exists($locale_file) )
     115                $locale_file = BB_LANG_DIR . $locale . '.php';
     116                if ( !is_file($locale_file) )
    117117                        return;
    118118
Note: See TracChangeset for help on using the changeset viewer.