Changeset 1072 in ExiteCMS


Ignore:
Timestamp:
11/06/07 17:57:46 (4 years ago)
Author:
root
Message:

bugfix: replaced require_once by require: a locale file can be loaded more then once.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/locale_functions.php

    r1071 r1072  
    150150        if (file_exists($locales_file)) { 
    151151            // and it exists, load it 
    152             require_once $locales_file; 
     152            require $locales_file; 
    153153        } else { 
    154154            // otherwise, if the locale is not English, try to load the English version 
Note: See TracChangeset for help on using the changeset viewer.