<?php /** * @category modules * @package Secure Form Switcher * @author WBCE Project * @copyright Norbert Heimsath * @license WTFPL */ //no direct file access if (count(get_included_files()) == 1) { die(header("Location: ../index.php", TRUE, 301)); } $msg = ''; // Del old switch as now there is only one. Settings::Del("secure_form_module");
<?php /** * * @category modules * @package captcha_control * @author WBCE Project * @copyright Thorn, Luise Hahne, Norbert Heimsath * @license GPLv2 or any later */ //no direct file access if (count(get_included_files()) == 1) { header("Location: ../index.php", TRUE, 301); } // Default settings Settings::Del("enabled_captcha"); Settings::Del("enabled_asp"); Settings::Del("captcha_type"); Settings::Del("asp_session_min_age"); Settings::Del("asp_view_min_age"); Settings::Del("asp_input_min_age"); Settings::Del("ct_text"); $table = TABLE_PREFIX . 'mod_captcha_control'; $database->query("DROP TABLE `{$table}`");
echo "<br />Adding redirect timer to settings table<br />"; Settings::Set('redirect_timer', '1500', false); echo "<br />Updating rename_files_on_upload to settings table<br />"; Settings::Set('rename_files_on_upload', 'ph.*?,cgi,pl,pm,exe,com,bat,pif,cmd,src,asp,aspx,js', false); echo "<br />Adding mediasettings to settings table<br />"; Settings::Set('mediasettings', '', false); echo "<br />Adding Secureform Settings if not exits.<br />"; // Settings::Set ("wb_maintainance_mode", false, fals); Settings::Set("wb_secform_secret", "5609bnefg93jmgi99igjefg", false); Settings::Set("wb_secform_secrettime", '86400', false); Settings::Set("wb_secform_timeout", '7200', false); Settings::Set("wb_secform_tokenname", 'formtoken', false); Settings::Set("wb_secform_usefp", false, false); Settings::Set('fingerprint_with_ip_octets', '0', false); echo "<br />Removing Secureform selector, no longer needed.<br />"; Settings::Del('secure_form_module'); // No longer needed as Singletab is removed /********************************************************** * Adding DB Fields */ // Add field "redirect_type" to table "mod_menu_link" echo "<br />Adding field redirect_type to mod_menu_link table<br />"; db_add_field('redirect_type', 'mod_menu_link', "INT NOT NULL DEFAULT '302' AFTER `target_page_id`"); // Add field "namesection" to table "sections" echo "<br />Adding field namesection to sections table<br />"; db_add_field('namesection', 'sections', "VARCHAR( 255 ) NULL"); /********************************************************** * - making sure group_id is set correct there was a big bug in original WB * WBCE 1.0.0 */ $table = TABLE_PREFIX . "users";
<?php /** * @category modules * @package Secure Form Switcher * @author WBCE Project * @copyright Norbert Heimsath * @license WTFPL */ //no direct file access if (count(get_included_files()) == 1) { header("Location: ../index.php", TRUE, 301); } $setError = Settings::Del("wb_maintainance_mode"); $setError = Settings::Del("wb_secform_secret"); $setError = Settings::Del("wb_secform_secrettime"); $setError = Settings::Del("wb_secform_timeout"); $setError = Settings::Del("wb_secform_tokenname"); $setError = Settings::Del("wb_secform_usefp"); $setError = Settings::Del("fingerprint_with_ip_octets"); $msg = 'Secureform switcher setting deleted, now you need to use config.php again ';
* @author Christian Sommer, WB-Project, Werner v.d. Decken, Norbert Heimsath(heimsath.org) * @copyright WebsiteBaker Org. e.V. * @link http://websitebaker.org/ * @license http://www.gnu.org/licenses/gpl.html * @platform WebsiteBaker 2.8.3 * @requirements PHP 5.3.6 and higher * @version $Id: uninstall.php 1520 2011-11-09 00:12:37Z darkviper $ * @filesource $HeadURL: svn://isteam.dynxs.de/wb_svn/wb280/tags/2.8.3/wb/modules/output_filter/uninstall.php $ * @lastmodified $Date: 2011-11-09 01:12:37 +0100 (Mi, 09. Nov 2011) $ * */ //no direct file access if (count(get_included_files()) == 1) { die(header("Location: ../index.php", TRUE, 301)); } Settings::Del('wb_suppress_old_opf'); Settings::Del('opf_droplets'); Settings::Del('opf_droplets_be'); Settings::Del('opf_wblink'); Settings::Del('opf_auto_placeholder'); Settings::Del('opf_insert'); Settings::Del('opf_sys_rel'); Settings::Del('opf_email_filter'); Settings::Del('opf_mailto_filter'); Settings::Del('opf_js_mailto'); Settings::Del('opf_short_url'); Settings::Del('opf_css_to_head'); Settings::Del('opf_at_replacement'); Settings::Del('opf_dot_replacement'); // deleting version too Settings::Set("opf_version");
<?php /** * @category modules * @package maintainance_mode * @author WBCE Project * @copyright Norbert Heimsath * @license WTFPL */ //no direct file access if (count(get_included_files()) == 1) { header("Location: ../index.php", TRUE, 301); } Settings::Del("wb_maintainance_mode"); $msg = 'Mainatinance mode setting deleted, now you need to use config.php again ';