Revision 2022
Added by darkviper almost 12 years ago
| branches/2.8.x/CHANGELOG | ||
|---|---|---|
| 11 | 11 |
! = Update/Change |
| 12 | 12 |
=============================================================================== |
| 13 | 13 |
|
| 14 |
06 Dec-2013 Build 2022 Manuela v.d.Decken(DarkViper) |
|
| 15 |
! framework/initialize.php WB will die if magic_quotes is set to 'on' |
|
| 14 | 16 |
06 Dec-2013 Build 2021 Manuela v.d.Decken(DarkViper) |
| 15 | 17 |
! PageTree::_makeSql() added sort order to list of sections per page |
| 16 | 18 |
06 Dec-2013 Build 2020 Dietmar Woellbrink (Luisehahne) |
| 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', '2021');
|
|
| 54 |
if(!defined('REVISION')) define('REVISION', '2022');
|
|
| 55 | 55 |
if(!defined('SP')) define('SP', '');
|
| branches/2.8.x/wb/framework/initialize.php | ||
|---|---|---|
| 206 | 206 |
$iPhpDeclaredClasses = sizeof(get_declared_classes()); |
| 207 | 207 |
$sDbConnectType = 'url'; // depending from class WbDatabase it can be 'url' or 'dsn' |
| 208 | 208 |
// disable all kind of magic_quotes in PHP versions before 5.4 --- |
| 209 |
if(version_compare(PHP_VERSION, '5.4.0', '<')) {
|
|
| 210 |
@set_magic_quotes_runtime(0); |
|
| 209 |
if (function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc()) {
|
|
| 210 |
$sMsg = '<p style="color: #ff0000;">WebsiteBaker is not able to run with magic_quotes=on!!<br />' |
|
| 211 |
. 'Please change your PHP-ini or add a _htaccess file to switch this setting to off!<br />' |
|
| 212 |
. 'If you have problems to solve that, ask your hosting provider for it.<br />' |
|
| 213 |
. 'The very best solution is the use of PHP-5.4 and up</p>'; |
|
| 214 |
die($sMsg); |
|
| 211 | 215 |
} |
| 212 | 216 |
// load configuration --- |
| 213 | 217 |
$aCfg = initReadSetupFile(); |
Also available in: Unified diff
! framework/initialize.php WB will die if magic_quotes is set to 'on'