Project

General

Profile

« Previous | Next » 

Revision 1314

Added by Dietmar over 14 years ago

little fixes for backwards compatible PHP4, pls test

View differences:

class.wb.php
27 27
class wb
28 28
{
29 29

  
30
	public $password_chars = 'a-zA-Z0-9\_\-\!\#\*\+';
31
	// General initialization function 
30
	var $password_chars = 'a-zA-Z0-9\_\-\!\#\*\+';
31
	// General initialization function
32 32
	// performed when frontend or backend is loaded.
33 33
	function wb() {
34 34
	}
......
281 281
 *
282 282
 * requirements: an active session must be available
283 283
 */
284
	public function getFTAN( $as_tag = true)
284
	function getFTAN( $as_tag = true)
285 285
	{
286 286
		if(function_exists('microtime'))
287 287
		{
......
319 319
 * requirements: an active session must be available
320 320
 * this check will prevent from multiple sending a form. history.back() also will never work
321 321
 */
322
	public function checkFTAN( $mode = 'POST')
322
	function checkFTAN( $mode = 'POST')
323 323
	{
324 324
		$retval = false;
325 325
		if(isset($_SESSION['FTAN']) && strlen($_SESSION['FTAN']) == strlen(md5('dummy')))

Also available in: Unified diff