Revision 1462
Added by DarkViper over 14 years ago
| branches/2.8.x/CHANGELOG | ||
|---|---|---|
| 11 | 11 |
! = Update/Change |
| 12 | 12 |
|
| 13 | 13 |
------------------------------------- 2.8.2 ------------------------------------ |
| 14 |
30 Jun-2011 Build 1462 Werner v.d.Decken(DarkViper) |
|
| 15 |
+ class-switcher for SecureForm added |
|
| 14 | 16 |
30 Jun-2011 Build 1461 Dietmar Woellbrink (Luisehahne) |
| 15 | 17 |
! correct all misspellings on finnish language file (Tks to invisigoth) |
| 16 | 18 |
29 Jun-2011 Build 1460 Dietmar Woellbrink (Luisehahne) |
| 17 | 19 | |
| 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.RC6');
|
| 55 |
if(!defined('REVISION')) define('REVISION', '1461');
|
|
| 55 |
if(!defined('REVISION')) define('REVISION', '1462');
|
|
| 56 | 56 |
|
| 57 | 57 |
?> |
| branches/2.8.x/wb/framework/class.admin.php | ||
|---|---|---|
| 26 | 26 |
|
| 27 | 27 |
// Include EditArea wrapper functions |
| 28 | 28 |
// require_once(WB_PATH . '/include/editarea/wb_wrapper_edit_area.php'); |
| 29 |
require_once(WB_PATH . '/framework/SecureForm.php'); |
|
| 29 |
//require_once(WB_PATH . '/framework/SecureForm.php');
|
|
| 30 | 30 |
|
| 31 | 31 |
|
| 32 | 32 |
class admin extends wb {
|
| branches/2.8.x/wb/framework/initialize.php | ||
|---|---|---|
| 22 | 22 |
|
| 23 | 23 |
if (file_exists(WB_PATH.'/framework/class.database.php')) {
|
| 24 | 24 |
|
| 25 |
date_default_timezone_set('UTC');
|
|
| 25 | 26 |
require_once(WB_PATH.'/framework/class.database.php'); |
| 26 | 27 |
|
| 27 | 28 |
// Create database class |
| ... | ... | |
| 49 | 50 |
define('OCTAL_FILE_MODE',(int) octdec($string_file_mode));
|
| 50 | 51 |
$string_dir_mode = STRING_DIR_MODE; |
| 51 | 52 |
define('OCTAL_DIR_MODE',(int) octdec($string_dir_mode));
|
| 52 |
|
|
| 53 |
$sSecMod = (defined('SECURE_FORM_MODULE')) ? '.'.SECURE_FORM_MODULE : '';
|
|
| 54 |
$sSecMod = WB_PATH.'/framework/SecureForm'.$sSecMod.'.php'; |
|
| 55 |
require_once($sSecMod); |
|
| 53 | 56 |
if (!defined("WB_INSTALL_PROCESS")) {
|
| 54 | 57 |
// get CAPTCHA and ASP settings |
| 55 | 58 |
$table = TABLE_PREFIX.'mod_captcha_control'; |
| 56 |
if($get_settings = $database->query("SELECT * FROM $table LIMIT 1")) {
|
|
| 59 |
if( ($get_settings = $database->query("SELECT * FROM $table LIMIT 1")) ) {
|
|
| 57 | 60 |
if($get_settings->numRows() == 0) { die("CAPTCHA-Settings not found"); }
|
| 58 | 61 |
$setting = $get_settings->fetchRow(); |
| 59 | 62 |
if($setting['enabled_captcha'] == '1') define('ENABLED_CAPTCHA', true);
|
| branches/2.8.x/wb/framework/class.wb.php | ||
|---|---|---|
| 26 | 26 |
// Include new wbmailer class (subclass of PHPmailer) |
| 27 | 27 |
require_once(WB_PATH."/framework/class.wbmailer.php"); |
| 28 | 28 |
|
| 29 |
require_once(WB_PATH."/framework/SecureForm.php"); |
|
| 29 |
//require_once(WB_PATH."/framework/SecureForm.php");
|
|
| 30 | 30 |
|
| 31 | 31 |
class wb extends SecureForm |
| 32 | 32 |
{
|
| 33 | 33 | |
| branches/2.8.x/wb/framework/class.frontend.php | ||
|---|---|---|
| 20 | 20 |
if(defined('WB_PATH') == false) { die("Cannot access this file directly"); }
|
| 21 | 21 |
|
| 22 | 22 |
require_once(WB_PATH.'/framework/class.wb.php'); |
| 23 |
require_once(WB_PATH.'/framework/SecureForm.php'); |
|
| 23 |
//require_once(WB_PATH.'/framework/SecureForm.php');
|
|
| 24 | 24 |
|
| 25 | 25 |
class frontend extends wb {
|
| 26 | 26 |
// defaults |
Also available in: Unified diff
class-switcher for SecureForm added