Revision 2030
Added by Luisehahne almost 12 years ago
| branches/2.8.x/CHANGELOG | ||
|---|---|---|
| 11 | 11 |
! = Update/Change |
| 12 | 12 |
=============================================================================== |
| 13 | 13 |
|
| 14 |
14 Dec-2013 Build 2030 Dietmar Woellbrink (Luisehahne) |
|
| 15 |
! /install/index.php add query magic_quotes_gpc (has to be disables) |
|
| 16 |
! /install/save.php set values for home_folders and page_languages to default false |
|
| 17 |
- remove 0 byte file in FCKeditor |
|
| 14 | 18 |
14 Dec-2013 Build 2029 Manuela v.d.Decken(DarkViper) |
| 15 | 19 |
! initialize.php now blocking PHP-versions <5.3.2 and PHP with magic_quotes enabled |
| 16 | 20 |
! droplets some new/recoded droplets added, some old ones removed |
| 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', '2029');
|
|
| 54 |
if(!defined('REVISION')) define('REVISION', '2030');
|
|
| 55 | 55 |
if(!defined('SP')) define('SP', '');
|
| branches/2.8.x/wb/install/save.php | ||
|---|---|---|
| 490 | 490 |
. '(\'default_date_format\', \'Y-m-d\'), ' |
| 491 | 491 |
. '(\'default_time_format\', \'h:i A\'), ' |
| 492 | 492 |
. '(\'redirect_timer\', \'1500\'), ' |
| 493 |
. '(\'home_folders\', \'true\'), '
|
|
| 493 |
. '(\'home_folders\', \'false\'), '
|
|
| 494 | 494 |
. '(\'warn_page_leave\', \'1\'), ' |
| 495 | 495 |
. '(\'default_template\', \'round\'), ' |
| 496 | 496 |
. '(\'default_theme\', \'wb_theme\'), ' |
| ... | ... | |
| 500 | 500 |
. '(\'intro_page\', \'false\'), ' |
| 501 | 501 |
. '(\'page_trash\', \'inline\'), ' |
| 502 | 502 |
. '(\'homepage_redirection\', \'false\'), ' |
| 503 |
. '(\'page_languages\', \'true\'), '
|
|
| 503 |
. '(\'page_languages\', \'false\'), '
|
|
| 504 | 504 |
. '(\'wysiwyg_editor\', \'fckeditor\'), ' |
| 505 | 505 |
. '(\'manage_sections\', \'true\'), ' |
| 506 | 506 |
. '(\'section_blocks\', \'false\'), ' |
| branches/2.8.x/wb/install/index.php | ||
|---|---|---|
| 69 | 69 |
$session_support = '<font class="bad">Disabled</font>'; |
| 70 | 70 |
} |
| 71 | 71 |
} |
| 72 |
$getMagicQuotesGpc = '<font class="good">Disabled</font>'; |
|
| 73 |
if ( function_exists('get_magic_quotes_gpc') && filter_var(strtolower(get_magic_quotes_gpc()), FILTER_VALIDATE_BOOLEAN ) ) {
|
|
| 74 |
$getMagicQuotesGpc = '<font class="bad">Enabled</font>'; |
|
| 75 |
$installFlag = false; |
|
| 76 |
} |
|
| 77 |
|
|
| 72 | 78 |
// Check if AddDefaultCharset is set |
| 73 | 79 |
$e_adc=false; |
| 74 | 80 |
$sapi=php_sapi_name(); |
| ... | ... | |
| 97 | 103 |
$sConfigFile = $sWbPath.$sType.'.php'; |
| 98 | 104 |
|
| 99 | 105 |
// config.php or config.php.new |
| 100 |
if( (file_exists($sConfigFile)==true)) |
|
| 101 |
{
|
|
| 106 |
if ((file_exists($sConfigFile)==true)) {
|
|
| 102 | 107 |
// next operation only if file is writeable |
| 103 |
if(is_writeable($sConfigFile)) |
|
| 104 |
{
|
|
| 108 |
if (is_writeable($sConfigFile)) {
|
|
| 105 | 109 |
// already installed? it's not empty |
| 106 |
if ( filesize($sConfigFile) > 100) |
|
| 107 |
{
|
|
| 110 |
if (filesize($sConfigFile) > 100) {
|
|
| 108 | 111 |
$config = '<font class="bad">Already installed? Check!</font>'; |
| 109 | 112 |
// try to open and to write |
| 110 |
} elseif( !$handle = fopen($sConfigFile, 'w') ) |
|
| 111 |
{
|
|
| 113 |
} elseif (!$handle = fopen($sConfigFile, 'w')) {
|
|
| 112 | 114 |
$config = '<font class="bad">Not Writeable</font>'; |
| 113 | 115 |
} else {
|
| 114 | 116 |
if (fwrite($handle, $sConfigContent) === FALSE) {
|
| ... | ... | |
| 119 | 121 |
} |
| 120 | 122 |
// Close file |
| 121 | 123 |
fclose($handle); |
| 122 |
}
|
|
| 124 |
} |
|
| 123 | 125 |
} else {
|
| 124 | 126 |
$config = '<font class="bad">Not Writeable</font>'; |
| 125 | 127 |
} |
| 126 | 128 |
// it's config.php.new |
| 127 |
} elseif((file_exists($sConfigFile.'.new')==true)) |
|
| 128 |
{
|
|
| 129 |
} elseif ((file_exists($sConfigFile.'.new')==true)) {
|
|
| 129 | 130 |
$config = '<font class="bad">Please rename to '.$sType.'.php</font>'; |
| 130 | 131 |
} else {
|
| 131 | 132 |
$config = '<font class="bad">Missing!!?</font>'; |
| ... | ... | |
| 138 | 139 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| 139 | 140 |
<head> |
| 140 | 141 |
<title>WebsiteBaker Installation Wizard</title> |
| 141 |
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9" /> |
|
| 142 | 142 |
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
| 143 | 143 |
<link href="stylesheet.css" rel="stylesheet" type="text/css" /> |
| 144 | 144 |
<script type="text/javascript"> |
| ... | ... | |
| 196 | 196 |
</tr> |
| 197 | 197 |
<?php } ?> |
| 198 | 198 |
<tr> |
| 199 |
<td style="color: #666666;">PHP Version > 5.2.1</td>
|
|
| 199 |
<td style="color: #666666;">PHP Version 5.3.2 and up</td>
|
|
| 200 | 200 |
<td> |
| 201 | 201 |
<?php |
| 202 |
if (version_compare(PHP_VERSION, '5.2.1', '>'))
|
|
| 202 |
if (version_compare(PHP_VERSION, '5.3.2', '>='))
|
|
| 203 | 203 |
{
|
| 204 | 204 |
?><font class="good">Yes</font><?php |
| 205 | 205 |
} else {
|
| ... | ... | |
| 213 | 213 |
</tr> |
| 214 | 214 |
<tr> |
| 215 | 215 |
<td style="color: #666666;">PHP Interface</td> |
| 216 |
<td colspan="2">
|
|
| 216 |
<td> |
|
| 217 | 217 |
<?php |
| 218 | 218 |
?><font class="good"> |
| 219 | 219 |
<?php echo $sapi ?> |
| 220 | 220 |
</font> |
| 221 | 221 |
</td> |
| 222 |
<td style="color: #666666;">magic_quotes_gpc</td> |
|
| 223 |
<td > |
|
| 224 |
<?php |
|
| 225 |
?><font class="good"> |
|
| 226 |
<?php echo $getMagicQuotesGpc ?> |
|
| 227 |
</font> |
|
| 228 |
</td> |
|
| 229 |
|
|
| 222 | 230 |
</tr> |
| 223 | 231 |
|
| 224 | 232 |
<td style="color: #666666;">Server DefaultCharset</td> |
Also available in: Unified diff
! /install/index.php add query magic_quotes_gpc (has to be disables)
! /install/save.php set values for home_folders and page_languages to default false
- remove 0 byte file in FCKeditor