Project

General

Profile

« Previous | Next » 

Revision 1804

Added by Dietmar about 12 years ago

  1. fixed Illegal string offset 'time' in \framework\SecureForm.mtab.php
    ! add delete Outdated Confirmations in backend
    ! show waiting Activations if exists in user management
  2. fixed html validaton errors in user management
    ! security fixes in admin/preferences/
    ! update form modul, change text "unknown#" to "Guest"
    in view_submission and emailheader email_fromname

View differences:

index.php
3 3
 *
4 4
 * @category        admin
5 5
 * @package         start
6
 * @author          Ryan Djurovich, WebsiteBaker Project
6
 * @author          Ryan Djurovich (2004-2009), WebsiteBaker Project
7 7
 * @copyright       2009-2012, WebsiteBaker Org. e.V.
8 8
 * @link			http://www.websitebaker2.org/
9 9
 * @license         http://www.gnu.org/licenses/gpl.html
......
19 19
//$regex = "/(pages)+[a-z]*[_]([a-z_0-9]+)[^,]/im";
20 20
//preg_match_all ($regex, $string, $output);
21 21
//
22
require('../../config.php');
23
require_once(WB_PATH.'/framework/class.admin.php');
22

  
23
$config_file = realpath('../../config.php');
24
if(file_exists($config_file) && !defined('WB_URL'))
25
{
26
	require_once($config_file);
27
}
28

  
29
if(!class_exists('admin', false)){ include(WB_PATH.'/framework/class.admin.php'); }
30

  
24 31
$admin = new admin('Start','start');
25 32
// ---------------------------------------
26 33
//	$database = WbDatabase::getInstance();
......
118 125
	}
119 126
}
120 127

  
128
/**
129
 * delete Outdated Confirmations
130
 */
131
$sql = 'DELETE FROM `'.TABLE_PREFIX.'users` WHERE `confirm_timeout` BETWEEN 1 AND '.time();
132
WbDatabase::getInstance()->query($sql);
133

  
121 134
// ---------------------------------------
122 135
// Setup template object, parse vars to it, then parse it
123 136
// Create new template object

Also available in: Unified diff