Revision 2091
Added by darkviper almost 11 years ago
details.php | ||
---|---|---|
20 | 20 |
function getInfoFromLanguageFile($sFile) |
21 | 21 |
{ |
22 | 22 |
$mRetval = array(); |
23 |
$mLang = Translate::getinstance();
|
|
23 |
$mLang = Translate::getInstance();
|
|
24 | 24 |
$oReg = WbAdaptor::getInstance(); |
25 | 25 |
// check for valid language code |
26 | 26 |
if(preg_match('/^([A-Z]{2}.php)/', $sFile)) { |
... | ... | |
47 | 47 |
// Include the config code |
48 | 48 |
require('../../config.php'); |
49 | 49 |
// Print admin header |
50 |
$mLang = Translate::getinstance();
|
|
50 |
$mLang = Translate::getInstance();
|
|
51 | 51 |
$mLang->enableAddon('admin\addons'); |
52 | 52 |
require_once(WB_PATH.'/framework/class.admin.php'); |
53 | 53 |
$admin = new admin('Addons', 'languages_view', false); |
Also available in: Unified diff
! several Files: corrected case sensitivity of ::getInstance()