Project

General

Profile

« Previous | Next » 

Revision 1378

Added by Dietmar almost 14 years ago

fixed inclusion of SecureForm
added IDNA/Punycode to wb::validate_email()

View differences:

class.login.php
30 30
require_once(ADMIN_PATH.'/interface/version.php');
31 31

  
32 32
class login extends admin {
33
	function login($config_array) {
33
	public function __construct($config_array) {
34 34
		// Get language vars
35 35
		global $MESSAGE, $database;
36
		$this->wb();
36
		parent::__construct();
37 37
		// Get configuration values
38 38
		$this->USERS_TABLE = $config_array['USERS_TABLE'];
39 39
		$this->GROUPS_TABLE = $config_array['GROUPS_TABLE'];

Also available in: Unified diff