File: auth_container_db_options.php

package info (click to toggle)
php-auth 1.2.4-0.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 228 kB
  • ctags: 396
  • sloc: php: 1,581; xml: 157; makefile: 25
file content (22 lines) | stat: -rw-r--r-- 585 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php

/*
        $this->options['table']       = "auth";
        $this->options['usernamecol'] = "username";
        $this->options['passwordcol'] = "password";
        $this->options['dsn']         = "";
        $this->options['db_fields']   = "";
        $this->options['cryptType']   = "md5";
*/
$options = array(
    'dsn'=>'pgsql://yavo:@localhost/projects',
    'table'=>'users',
    'usernamecol'=>'userlogin',
    'passwordcol'=>'userpassword',
    'db_fields'=>'*'
);

$extra_options['username'] = 'test_user';
$extra_options['passwd'] = 'test_user';

?>