Changeset 1075 in ExiteCMS for trunk/includes/locale_functions.php


Ignore:
Timestamp:
11/06/07 19:52:06 (5 years ago)
Author:
hverton
Message:

fixed some typo's and a syntax error
removed jscript.js, no longer used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/locale_functions.php

    r1072 r1075  
    6969function locale_load($locale_name) { 
    7070 
    71     global $settings, $locale; 
     71    global $settings, $locale, $db_prefix; 
    7272 
    7373    // assemble the locale filename 
    74     $locales_file = PATH_ROOT."files/locales/".$locale['locale'].".".$locale_name.".php"; 
     74    $locales_file = PATH_ROOT."files/locales/".$settings['locale'].".".$locale_name.".php"; 
    7575 
    7676    // check if we need to recompile from the database 
    77     if (dbtable_exists($prefix."locales")) { 
     77    if (dbtable_exists($db_prefix."locales")) { 
    7878 
    7979        // get the last update date from the locale strings table 
Note: See TracChangeset for help on using the changeset viewer.