This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/application/config/database.php

43 lines
1.0 KiB
PHP
Raw Normal View History

2010-11-29 22:41:08 +00:00
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* OSB Configuration - Database Driver
2010-11-29 22:41:08 +00:00
*
* @package OSB
* @category Configuration
* @author Deon George
* @copyright (c) 2010 Open Source Billing
* @license http://dev.osbill.net/license.html
*/
2011-05-02 12:20:56 +00:00
2010-11-29 22:41:08 +00:00
return array
(
'default' => array
(
'type' => 'mysql',
'connection' => array(
2011-05-02 12:20:56 +00:00
/**
* 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',
'username' => 'username',
'password' => 'password',
2010-11-29 22:41:08 +00:00
'persistent' => FALSE,
2011-05-02 12:20:56 +00:00
'database' => 'database',
2010-11-29 22:41:08 +00:00
),
'table_prefix' => 'ab_',
'charset' => 'utf8',
'caching' => FALSE,
'profiling' => TRUE,
),
);
?>