Revision 1913
Added by Dietmar over 11 years ago
index.php | ||
---|---|---|
53 | 53 |
$template->set_var('DISPLAY_LIST', 'hide'); |
54 | 54 |
} |
55 | 55 |
|
56 |
$mLang = ModLanguage::getInstance(); |
|
57 |
$mLang->setLanguage(ADMIN_PATH.'/addons/languages/', LANGUAGE, DEFAULT_LANGUAGE); |
|
56 |
//$mLang = ModLanguage::getInstance(); |
|
57 |
//$mLang->setLanguage(ADMIN_PATH.'/addons/languages/', LANGUAGE, DEFAULT_LANGUAGE); |
|
58 |
$mLang = Translate::getinstance(); |
|
59 |
$mLang->enableAddon('admin\addons'); |
|
58 | 60 |
|
59 | 61 |
/*-- insert all needed vars from language files ----------------------------------------*/ |
60 | 62 |
$template->set_var($mLang->getLangArray()); |
Also available in: Unified diff
! /admin/addons/ change to new Translate class