Revision 1913
Added by Dietmar over 11 years ago
index.php | ||
---|---|---|
98 | 98 |
$template->set_var('DISPLAY_MANUAL_INSTALL', 'hide'); |
99 | 99 |
} |
100 | 100 |
|
101 |
$mLang = ModLanguage::getInstance(); |
|
102 |
$mLang->setLanguage(ADMIN_PATH.'/addons/languages/', LANGUAGE, DEFAULT_LANGUAGE); |
|
101 |
//$mLang = ModLanguage::getInstance(); |
|
102 |
//$mLang->setLanguage(ADMIN_PATH.'/addons/languages/', LANGUAGE, DEFAULT_LANGUAGE); |
|
103 |
$mLang = Translate::getinstance(); |
|
104 |
$mLang->enableAddon('admin\addons'); |
|
103 | 105 |
|
104 | 106 |
/*-- insert all needed vars from language files ----------------------------------------*/ |
105 | 107 |
$template->set_var($mLang->getLangArray()); |
Also available in: Unified diff
! /admin/addons/ change to new Translate class