Revision 1882
Added by darkviper over 12 years ago
| branches/2.8.x/CHANGELOG | ||
|---|---|---|
| 11 | 11 |
! = Update/Change |
| 12 | 12 |
=============================================================================== |
| 13 | 13 |
|
| 14 |
|
|
| 14 |
06 Mar-2013 Build 1882 Werner v.d.Decken(DarkViper) |
|
| 15 |
# protect magic setter to fix security issue in WbAdapter |
|
| 15 | 16 |
05 Mar-2013 Build 1881 Dietmar Woellbrink (Luisehahne) |
| 16 | 17 |
# bugfix setting slash in class m_news_Reorg ( access files in root) |
| 17 | 18 |
! upgrade-script shows count of created module access files |
| 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', '1881');
|
|
| 54 |
if(!defined('REVISION')) define('REVISION', '1882');
|
|
| 55 | 55 |
if(!defined('SP')) define('SP', '');
|
| branches/2.8.x/wb/framework/Translate.php | ||
|---|---|---|
| 136 | 136 |
*/ |
| 137 | 137 |
public function addAddon($sAddon) |
| 138 | 138 |
{
|
| 139 |
$sAddon = str_replace('/', '\\', $sAddon);
|
|
| 139 | 140 |
if(!(strtolower($sAddon) == 'core' || $sAddon == '' || isset($this->aLoadedAddons[$sAddon]))) {
|
| 140 | 141 |
// load requested addon translations if needed and possible |
| 141 | 142 |
$oTmp = new TranslationTable($sAddon, |
| ... | ... | |
| 152 | 153 |
*/ |
| 153 | 154 |
public function enableAddon($sAddon) |
| 154 | 155 |
{
|
| 156 |
$sAddon = str_replace('/', '\\', $sAddon);
|
|
| 155 | 157 |
if(!(strtolower($sAddon) == 'core' || $sAddon == '')) {
|
| 156 | 158 |
if(!isset($this->aLoadedAddons[$sAddon])) {
|
| 157 | 159 |
$this->addAddon($sAddon); |
| ... | ... | |
| 202 | 204 |
return $sRetval; |
| 203 | 205 |
} |
| 204 | 206 |
/** |
| 207 |
* Protect class from property injections |
|
| 208 |
* @param string name of property |
|
| 209 |
* @param mixed value |
|
| 210 |
* @throws TranslationException |
|
| 211 |
*/ |
|
| 212 |
public function __set($name, $value) {
|
|
| 213 |
throw new TranslationException('tried to set a readonly or nonexisting property ['.$name.']!! ');
|
|
| 214 |
} |
|
| 215 |
/** |
|
| 205 | 216 |
* Return complete table of translations |
| 206 | 217 |
* @return array |
| 207 | 218 |
* @deprecated for backward compatibility only. Will be removed shortly |
Also available in: Unified diff
protect magic setter to fix security issue in Translate