Changeset 9517


Ignore:
Timestamp:
03/04/11 11:35:05 (9 years ago)
Author:
plg
Message:

force loading admin language file (which contains all strings for the upload form)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/community/main.inc.php

    r9516 r9517  
    8585  return preg_replace($pattern, $replacement, $content); 
    8686} 
     87 
     88add_event_handler('init', 'community_load_language'); 
     89function community_load_language() 
     90{ 
     91  if (!defined('IN_ADMIN') or !IN_ADMIN) 
     92  { 
     93    load_language('admin.lang'); 
     94  } 
     95} 
     96 
    8797 
    8898add_event_handler('loc_end_section_init', 'community_section_init'); 
Note: See TracChangeset for help on using the changeset viewer.