Subversion Repositories php_users

Rev

Rev 16 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 16 Rev 21
Line 42... Line 42...
42
               )
42
               )
43
            )
43
            )
44
      );
44
      );
45
         
45
         
46
 
46
 
47
   $connection = new usersPermissionsDataSource( 
47
   $connection = new usersPermissionsDataSourceMySQLi( 
48
         null,
48
         array( 'username' => 'test', 'password' => 'test', 'database' => 'test' ),
49
         $customFields, 
49
         $customFields
50
         array( 'username' => 'test', 'password' => 'test', 'database' => 'test' ) 
-
 
51
      );
50
      );
52
   $initValues = array( 
51
   $initValues = array( 
53
      'users' => array( 
52
      'users' => array( 
54
         'login' => 'admin', 
53
         'login' => 'admin', 
55
         'pass' => password_hash( 'admin', PASSWORD_DEFAULT ),
54
         'pass' => password_hash( 'admin', PASSWORD_DEFAULT ),