Ignore:
Timestamp:
Oct 26, 2010, 4:57:38 PM (13 years ago)
Author:
grum
Message:

Fix load language bug + update en_UK lang file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/ASearchEngine/ase_pip.class.inc.php

    r7328 r7404  
    5050  public function load_lang()
    5151  {
    52     global $lang;
     52    global $template;
    5353
    5454    load_language('plugin.lang', ASE_PATH);
     55    load_language('rbuilder.lang', GPC_PATH);
    5556  }
    5657
     
    6768    add_event_handler('loc_begin_page_header', array(&$this->css2, 'applyCSS'), 9); // have to be loaded before other css file (event level from GPCCore=10)
    6869    add_event_handler('blockmanager_apply', array(&$this, 'blockmanagerApply'), 55);
     70    add_event_handler('user_init', array(&$this, 'load_lang'));
    6971  }
    7072
Note: See TracChangeset for help on using the changeset viewer.