<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
| For complete instructions please consult the "Database Connection"
| page of the User Guide.
|
| -------------------------------------------------------------------
| EXPLANATION OF VARIABLES
| -------------------------------------------------------------------
|
|	['hostname'] The hostname of your database server.
|	['username'] The username used to connect to the database
|	['password'] The password used to connect to the database
|	['database'] The name of the database you want to connect to
|	['dbdriver'] The database type. ie: mysqli.  Currently supported:
				 mysqli, mysqlii, postgre, odbc, mssql, sqlite, oci8
|	['dbprefix'] You can add an optional prefix, which will be added
|				 to the table name when using the  Active Record class
|	['pconnect'] TRUE/FALSE - Whether to use a persistent connection
|	['db_debug'] TRUE/FALSE - Whether database errors should be displayed.
|	['cache_on'] TRUE/FALSE - Enables/disables query caching
|	['cachedir'] The path to the folder where cache files should be stored
|	['char_set'] The character set used in communicating with the database
|	['dbcollat'] The character collation used in communicating with the database
|
| The $active_group variable lets you choose which connection group to
| make active.  By default there is only one group (the "default" group).
|
| The $active_record variables lets you determine whether or not to load
| the active record class
*/

if ($_SERVER['HTTP_HOST'] == 'localhost') {
	$active_group = "test";
} else {
	$active_group = "online";
}

$active_record = TRUE;

$db['test']['hostname'] = "iroda";
$db['test']['username'] = "cadline";
$db['test']['password'] = "cadline";
$db['test']['database'] = "cadline2";
$db['test']['dbdriver'] = "mysqli";
$db['test']['dbprefix'] = "";
$db['test']['pconnect'] = TRUE;
$db['test']['db_debug'] = TRUE;
$db['test']['cache_on'] = FALSE;
$db['test']['cachedir'] = "";
$db['test']['char_set'] = false;
$db['test']['dbcollat'] = false;

$db['online']['hostname'] = "localhost";
$db['online']['username'] = "cadline";
$db['online']['password'] = "Shea6hoo";
$db['online']['database'] = "bugtracker"; //bugtracker
$db['online']['dbdriver'] = "mysqli";
$db['online']['dbprefix'] = "";
$db['online']['pconnect'] = TRUE;
$db['online']['db_debug'] = TRUE;
$db['online']['cache_on'] = FALSE;
$db['online']['cachedir'] = "/var/www/hosting/archlinexp.com/partners/system/cache/";
$db['online']['char_set'] = "utf8";
$db['online']['dbcollat'] = "utf8_general_ci";

$db['bugtracker']['hostname'] = "185.43.206.63";
$db['bugtracker']['username'] = "cadline";
$db['bugtracker']['password'] = "Shea6hoo";
$db['bugtracker']['database'] = "bugtracker";
$db['bugtracker']['dbdriver'] = "mysqli";
$db['bugtracker']['dbprefix'] = "";
$db['bugtracker']['pconnect'] = TRUE;
$db['bugtracker']['db_debug'] = TRUE;
$db['bugtracker']['cache_on'] = FALSE;
$db['bugtracker']['cachedir'] = "";
$db['bugtracker']['char_set'] = "utf8";
$db['bugtracker']['dbcollat'] = "utf8_general_ci";

$db['hardlock']['hostname'] = "localhost";
$db['hardlock']['username'] = "root";
$db['hardlock']['password'] = "vcad456789x";
$db['hardlock']['database'] = "hardlock";
$db['hardlock']['dbdriver'] = "mysqli";
$db['hardlock']['dbprefix'] = "";
$db['hardlock']['pconnect'] = TRUE;
$db['hardlock']['db_debug'] = TRUE;
$db['hardlock']['cache_on'] = FALSE;
$db['hardlock']['cachedir'] = "";
$db['hardlock']['char_set'] = "utf8";
$db['hardlock']['dbcollat'] = "utf8_general_ci";

$db['clusers']['hostname'] = "185.43.206.63";
$db['clusers']['username'] = "cadline";
$db['clusers']['password'] = "Shea6hoo";
$db['clusers']['database'] = "clusers";
$db['clusers']['dbdriver'] = "mysqli";
$db['clusers']['dbprefix'] = "";
$db['clusers']['pconnect'] = TRUE;
$db['clusers']['db_debug'] = TRUE;
$db['clusers']['cache_on'] = FALSE;
$db['clusers']['cachedir'] = "";
$db['clusers']['char_set'] = "utf8";
$db['clusers']['dbcollat'] = "utf8_general_ci";

$db['ujugyfelkezelo']['hostname'] = "185.43.206.63";
$db['ujugyfelkezelo']['username'] = "cadline";
$db['ujugyfelkezelo']['password'] = "Shea6hoo";
$db['ujugyfelkezelo']['database'] = "cl_hlusers";
$db['ujugyfelkezelo']['dbdriver'] = "mysqli";
$db['ujugyfelkezelo']['dbprefix'] = "";
$db['ujugyfelkezelo']['pconnect'] = TRUE;
$db['ujugyfelkezelo']['db_debug'] = TRUE;
$db['ujugyfelkezelo']['cache_on'] = FALSE;
$db['ujugyfelkezelo']['cachedir'] = "";
$db['ujugyfelkezelo']['char_set'] = "utf8";
$db['ujugyfelkezelo']['dbcollat'] = "utf8_general_ci";

/* End of file database.php */
/* Location: ./system/application/config/database.php */
