PHP Classes

File: tests/mocks/database/config/pgsql.php

Recommend this page to a friend!
  Classes of Asad Ullah   PHP Google Authenticator with CodeIgniter   tests/mocks/database/config/pgsql.php   Download  
File: tests/mocks/database/config/pgsql.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Google Authenticator with CodeIgniter
2fa Google Authenticator implementation
Author: By
Last change:
Date: 5 years ago
Size: 666 bytes
 

Contents

Class file image Download
<?php

return array(

   
// Typical Database configuration
   
'pgsql' => array(
       
'dsn' => '',
       
'hostname' => 'localhost',
       
'username' => 'postgres',
       
'password' => '',
       
'database' => 'ci_test',
       
'dbdriver' => 'postgre'
   
),

   
// Database configuration with failover
   
'pgsql_failover' => array(
       
'dsn' => '',
       
'hostname' => 'localhost',
       
'username' => 'not_travis',
       
'password' => 'wrong password',
       
'database' => 'not_ci_test',
       
'dbdriver' => 'postgre',
       
'failover' => array(
            array(
               
'dsn' => '',
               
'hostname' => 'localhost',
               
'username' => 'postgres',
               
'password' => '',
               
'database' => 'ci_test',
               
'dbdriver' => 'postgre',
            )
        )
    )
);