Revision 820
Added by thorn over 17 years ago
| upgrade-script.php | ||
|---|---|---|
| 54 | 54 |
status_msg(', WB 2.7 core files uploaded: ');
|
| 55 | 55 |
@include_once(WB_PATH .'/framework/functions.php'); |
| 56 | 56 |
@include_once(ADMIN_PATH .'/interface/version.php'); |
| 57 |
if(defined('VERSION') && VERSION == '2.7 (RC3a)'
|
|
| 57 |
if(defined('VERSION') && VERSION == '2.7 (RC3)'
|
|
| 58 | 58 |
&& function_exists('get_variable_content')
|
| 59 | 59 |
&& file_exists(WB_PATH .'/modules/menu_link/languages/DE.php') |
| 60 | 60 |
&& file_exists(WB_PATH .'/modules/output_filter/filter-routines.php') |
| ... | ... | |
| 523 | 523 |
$database->query("DROP TABLE IF EXISTS `$table`");
|
| 524 | 524 |
$database->query("CREATE TABLE `$table` (
|
| 525 | 525 |
`enabled_captcha` VARCHAR(1) NOT NULL DEFAULT '1', |
| 526 |
`enabled_asp` VARCHAR(1) NOT NULL DEFAULT '1',
|
|
| 526 |
`enabled_asp` VARCHAR(1) NOT NULL DEFAULT '0',
|
|
| 527 | 527 |
`captcha_type` VARCHAR(255) NOT NULL DEFAULT 'calc_text', |
| 528 | 528 |
`asp_session_min_age` INT(11) NOT NULL DEFAULT '20', |
| 529 | 529 |
`asp_view_min_age` INT(11) NOT NULL DEFAULT '10', |
Also available in: Unified diff
ASP: off per default. CAPTCHA: removed unneeded $admin. Filename: just convert chars like quote, doublequote, < > & to empty string.