Skip to:
Content

bbPress.org


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

Various optimisations and typo fixes - Fixes #842 - props momo360modena

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bb-includes/locale.php

    r1220 r1385  
    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.