2013-10-10 02:44:53 +00:00
|
|
|
<?php defined('SYSPATH') or die('No direct access allowed.');
|
|
|
|
|
|
|
|
/**
|
|
|
|
* OSB Configuration - Database Driver
|
|
|
|
*
|
|
|
|
* @package OSB
|
|
|
|
* @category Configuration
|
|
|
|
* @author Deon George
|
|
|
|
* @copyright (c) 2010 Open Source Billing
|
|
|
|
* @license http://dev.osbill.net/license.html
|
|
|
|
*/
|
|
|
|
|
|
|
|
return array
|
|
|
|
(
|
2016-07-27 04:25:17 +00:00
|
|
|
'old' => array
|
2013-10-10 02:44:53 +00:00
|
|
|
(
|
|
|
|
'type' => 'mysql',
|
|
|
|
'connection' => array(
|
|
|
|
/**
|
|
|
|
* The following options are available for MySQL:
|
|
|
|
*
|
|
|
|
* string hostname server hostname, or socket
|
|
|
|
* string database database name
|
|
|
|
* string username database username
|
|
|
|
* string password database password
|
|
|
|
* boolean persistent use persistent connections?
|
|
|
|
*
|
|
|
|
* Ports and sockets may be appended to the hostname.
|
|
|
|
*/
|
|
|
|
'hostname' => 'localhost',
|
2018-06-13 11:40:08 +00:00
|
|
|
'username' => 'gh-webbill',
|
|
|
|
'password' => 'ws0593',
|
2013-10-10 02:44:53 +00:00
|
|
|
'persistent' => FALSE,
|
2018-06-13 11:40:08 +00:00
|
|
|
'database' => 'webghosb',
|
2013-10-10 02:44:53 +00:00
|
|
|
),
|
|
|
|
'table_prefix' => 'ab_',
|
|
|
|
'charset' => 'utf8',
|
|
|
|
'caching' => FALSE,
|
2016-05-03 02:47:00 +00:00
|
|
|
'compress' => FALSE,
|
2013-10-10 02:44:53 +00:00
|
|
|
'profiling' => TRUE,
|
|
|
|
),
|
2016-07-27 04:25:17 +00:00
|
|
|
'pdo' => array(
|
|
|
|
'type' => 'PDO',
|
|
|
|
'connection' => array(
|
|
|
|
/**
|
|
|
|
* The following options are available for PDO:
|
|
|
|
*
|
|
|
|
* string dsn Data Source Name
|
|
|
|
* string username database username
|
|
|
|
* string password database password
|
|
|
|
* boolean persistent use persistent connections?
|
|
|
|
*/
|
2018-06-13 11:40:08 +00:00
|
|
|
'dsn' => 'mysql:host=localhost;dbname=webghosb',
|
|
|
|
'username' => 'gh-webbill',
|
|
|
|
'password' => 'ws0593',
|
2016-07-27 04:25:17 +00:00
|
|
|
'persistent' => FALSE,
|
|
|
|
),
|
|
|
|
/**
|
|
|
|
* The following extra options are available for PDO:
|
|
|
|
*
|
|
|
|
* string identifier set the escaping identifier
|
|
|
|
*/
|
|
|
|
'table_prefix' => 'ab_',
|
|
|
|
'charset' => 'utf8',
|
|
|
|
'caching' => FALSE,
|
|
|
|
),
|
|
|
|
'default' => array(
|
|
|
|
'type' => 'MySQLi',
|
|
|
|
'connection' => array(
|
2018-06-13 11:40:08 +00:00
|
|
|
'hostname' => 'database',
|
|
|
|
'username' => 'web',
|
|
|
|
'password' => 'uva%Cn8B',
|
2016-07-27 04:25:17 +00:00
|
|
|
'persistent' => FALSE,
|
|
|
|
'database' => 'database',
|
|
|
|
'ssl' => NULL,
|
|
|
|
),
|
|
|
|
'table_prefix' => 'ab_',
|
|
|
|
'charset' => 'utf8',
|
|
|
|
'caching' => FALSE,
|
|
|
|
'compress' => FALSE,
|
|
|
|
'profiling' => TRUE,
|
|
|
|
),
|
2013-10-10 02:44:53 +00:00
|
|
|
);
|
|
|
|
?>
|