Changeset 47124c22 in github for program/include/rcube_shared.inc


Ignore:
Timestamp:
Apr 12, 2008 9:54:45 AM (5 years ago)
Author:
thomascube <thomas@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
3d35312
Parents:
b00bd0f2
Message:

Changed codebase to PHP5 with autoloader + added some new classes from the devel-vnext branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/include/rcube_shared.inc

    r1b4d732 r47124c22  
    9292function rcube_label($attrib) 
    9393{ 
    94   global $sess_user_lang, $INSTALL_PATH, $OUTPUT; 
     94  global $sess_user_lang, $OUTPUT; 
    9595  static $sa_text_data, $s_language, $utf8_decode; 
    9696 
     
    112112     
    113113    // get english labels (these should be complete) 
    114     @include($INSTALL_PATH.'program/localization/en_US/labels.inc'); 
    115     @include($INSTALL_PATH.'program/localization/en_US/messages.inc'); 
     114    @include(INSTALL_PATH.'program/localization/en_US/labels.inc'); 
     115    @include(INSTALL_PATH.'program/localization/en_US/messages.inc'); 
    116116 
    117117    if (is_array($labels)) 
     
    121121     
    122122    // include user language files 
    123     if ($sess_user_lang!='en' && is_dir($INSTALL_PATH.'program/localization/'.$sess_user_lang)) 
     123    if ($sess_user_lang!='en' && is_dir(INSTALL_PATH.'program/localization/'.$sess_user_lang)) 
    124124    { 
    125       include_once($INSTALL_PATH.'program/localization/'.$sess_user_lang.'/labels.inc'); 
    126       include_once($INSTALL_PATH.'program/localization/'.$sess_user_lang.'/messages.inc'); 
     125      include_once(INSTALL_PATH.'program/localization/'.$sess_user_lang.'/labels.inc'); 
     126      include_once(INSTALL_PATH.'program/localization/'.$sess_user_lang.'/messages.inc'); 
    127127 
    128128      if (is_array($labels)) 
Note: See TracChangeset for help on using the changeset viewer.