Project

General

Profile

« Previous | Next » 

Revision 2136

Added by darkviper about 9 years ago

+ class SecureTokens: as a replacement for former class SecureForm in SecureForm.php and SecureForm.mtab.php
! framework/initialize.php change bindings of SecureForm to SecureTokens

View differences:

initialize.php
256 256
    if (defined('TABLE_PREFIX')) { /** TODO */ }
257 257
// set system defaults
258 258
    date_default_timezone_set('UTC');
259
// set internal character encoding to UTF-8
260
    mb_internal_encoding('UTF-8');
259 261

  
260 262
// initialize debug evaluation values ---
261 263
    $starttime = array_sum(explode(" ",microtime()));
......
411 413
// extended wb editor settings
412 414
    if(!defined('EDIT_ONE_SECTION')) { define('EDIT_ONE_SECTION', false); }
413 415
    if(!defined('EDITOR_WIDTH')) { define('EDITOR_WIDTH', 0); }
414
// define form security class and preload it ---
415
    $sSecMod = (defined('SECURE_FORM_MODULE') && SECURE_FORM_MODULE != '') ? '.'.SECURE_FORM_MODULE : '';
416
    $sSecMod = WB_PATH.'/framework/SecureForm'.$sSecMod.'.php';
417
    require_once($sSecMod);
418 416
// *** begin deprecated part *************************************************************
419 417
// load settings for use in Captch and ASP module
420 418
    if (!defined('WB_INSTALL_PROCESS') && !defined('ENABLED_CAPTCHA')) {

Also available in: Unified diff