Project

General

Profile

« Previous | Next » 

Revision 2020

Added by Dietmar almost 11 years ago

  1. /admin/languages/detail.php::getInfoFromLanguageFile() change require_once to require

View differences:

branches/2.8.x/CHANGELOG
11 11
! = Update/Change
12 12
===============================================================================
13 13

  
14
05 Dec-2013 Build 2018 Dietmar Woellbrink (Luisehahne)
15
-  \templates\wb_theme\css :: remove 0 byte files
14
06 Dec-2013 Build 2020 Dietmar Woellbrink (Luisehahne)
15
# /admin/languages/detail.php::getInfoFromLanguageFile() change require_once to require
16
05 Dec-2013 Build 2019 Dietmar Woellbrink (Luisehahne)
17
-  /templates/wb_theme/css :: remove 0 byte files
16 18
05 Dec-2013 Build 2018 Manuela v.d.Decken(DarkViper)
17 19
! little correction in admin/settings/save.php from line 391
18 20
05 Dec-2013 Build 2017 Manuela v.d.Decken(DarkViper)
branches/2.8.x/wb/admin/interface/version.php
51 51

  
52 52
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
53 53
if(!defined('VERSION')) define('VERSION', '2.8.3');
54
if(!defined('REVISION')) define('REVISION', '2019');
54
if(!defined('REVISION')) define('REVISION', '2020');
55 55
if(!defined('SP')) define('SP', '');
branches/2.8.x/wb/admin/languages/details.php
21 21
{
22 22
	$mRetval = array();
23 23
	$mLang = Translate::getinstance();
24
    $oReg  = WbAdaptor::getInstance();
24 25
	// check for valid language code
25 26
	if(preg_match('/^([A-Z]{2}.php)/', $sFile)) {
26
		if(is_file(WB_PATH.'/languages/'.$sFile) ) {
27
			if(is_readable(WB_PATH.'/languages/'.$sFile) ) {
28
				require_once(WB_PATH.'/languages/'.$sFile);
27
		if(is_file($oReg->AppPath.'languages/'.$sFile) ) {
28
			if(is_readable($oReg->AppPath.'languages/'.$sFile) ) {
29
				require($oReg->AppPath.'languages/'.$sFile);
29 30
				$mRetval['CODE'] = $language_code;
30 31
				$mRetval['NAME'] = $language_name;
31 32
				$mRetval['AUTHOR'] = $language_author;

Also available in: Unified diff