Revision 1544
Added by Luisehahne almost 14 years ago
| branches/2.8.x/CHANGELOG | ||
|---|---|---|
| 11 | 11 |
! = Update/Change |
| 12 | 12 |
|
| 13 | 13 |
=========================== add small Features 2.8.2 ========================== |
| 14 |
15 Dez-2011 Build 1544 Dietmar Woellbrink (Luisehahne) |
|
| 15 |
# fix droplet import after new wb installtion |
|
| 14 | 16 |
14 Dez-2011 Build 1543 Dietmar Woellbrink (Luisehahne) |
| 15 | 17 |
# fix droplet sectionPicker |
| 16 | 18 |
# fix install config.php not writeable |
| branches/2.8.x/wb/admin/interface/version.php | ||
|---|---|---|
| 52 | 52 |
|
| 53 | 53 |
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled) |
| 54 | 54 |
if(!defined('VERSION')) define('VERSION', '2.8.2');
|
| 55 |
if(!defined('REVISION')) define('REVISION', '1543');
|
|
| 55 |
if(!defined('REVISION')) define('REVISION', '1544');
|
|
| 56 | 56 |
if(!defined('SP')) define('SP', 'SP2');
|
| branches/2.8.x/wb/install/index.php | ||
|---|---|---|
| 138 | 138 |
<td width="160" style="color: #666666;">PHP Version > 5.2.1</td> |
| 139 | 139 |
<td width="60"> |
| 140 | 140 |
<?php |
| 141 |
if (version_compare(PHP_VERSION, '5.2.1', '>='))
|
|
| 141 |
if (version_compare(PHP_VERSION, '5.2.1', '>')) |
|
| 142 | 142 |
{
|
| 143 | 143 |
?><font class="good">Yes</font><?php |
| 144 | 144 |
} else {
|
| branches/2.8.x/wb/modules/droplets/install.php | ||
|---|---|---|
| 83 | 83 |
$droplet = implode ( "\n", $cArray ); |
| 84 | 84 |
$name = substr($dropfile,0,-4); |
| 85 | 85 |
$modified_when = time(); |
| 86 |
$modified_by = (method_exists($admin, 'get_user_id') ? $admin->get_user_id() : 1); |
|
| 86 |
$modified_by = (method_exists($admin, 'get_user_id') && ($admin->get_user_id()!=null) ? $admin->get_user_id() : 1);
|
|
| 87 | 87 |
$sql = 'INSERT INTO `'.TABLE_PREFIX.'mod_droplets` SET '; |
| 88 | 88 |
$sql .= '`name` = \''.$name.'\', '; |
| 89 | 89 |
$sql .= '`code` = \''.$droplet.'\', '; |
Also available in: Unified diff
fix droplet import after new wb installtion