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.
phptsmadmin/application/config/database.php

76 lines
1.8 KiB
PHP
Raw Normal View History

2011-03-03 23:06:18 +00:00
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* PTA Configuration - TSM Client
*
* @package PTA
* @subpackage TSM
* @category Configuration
* @author Deon George
* @copyright (c) 2010 phpTSMadmin Development Team
* @license http://phptsmadmin.sf.net/license.html
*/
return array
(
'default' => array
(
'type' => 'tsm',
'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.
*/
2011-05-23 10:01:27 +00:00
//'hostname' => 'localhost', // Unused
2011-03-03 23:06:18 +00:00
'username' => FALSE,
'password' => FALSE,
2011-05-23 10:01:27 +00:00
//'persistent' => FALSE, // Unused
'database' => 'local',
2011-03-03 23:06:18 +00:00
),
'table_prefix' => '',
'charset' => 'utf8',
2011-05-28 09:46:46 +00:00
'caching' => TRUE,
'cache' => array(
'ASSOCIATIONS' => 1200,
'AR_COPYGROUPS' => 1200,
'BU_COPYGROUPS' => 1200,
'CLIENT_SCHEDULES' => 1200,
'CLIENTOPTS' => 1200,
'DEVCLASSES' => 1200,
2011-05-31 00:42:47 +00:00
'DOMAINS' => 1200,
2011-05-28 09:46:46 +00:00
'EVENTS' => 1200,
'FILESPACES' => 1200,
2011-06-24 01:27:21 +00:00
'LIBRARIES' => 1200,
'LIBVOLUMES' => 1200,
2011-05-28 09:46:46 +00:00
'MGMTCLASSES' => 1200,
'NODES' => 1200,
'OCCUPANCY' => 1200,
'SCHEMA' => 604800,
'STGPOOLS' => 1200,
2011-05-31 00:42:47 +00:00
'SUMMARY' => 180,
2011-06-24 01:27:21 +00:00
'VOLHISTORY' => 1200,
2011-05-28 09:46:46 +00:00
'VOLUMES' => 1200,
'VOLUMEUSAGE' => 1200,
),
2011-06-01 09:30:22 +00:00
'cachepreload' => array(
'DEVCLASSES' => 1200,
'DOMAINS' => 1200,
2011-06-24 01:27:21 +00:00
'LIBVOLUMES' => 1200,
'LIBRARIES' => 1200,
2011-06-01 09:30:22 +00:00
'NODES' => 1200,
'STGPOOLS' => 1200,
2011-06-24 01:27:21 +00:00
'VOLHISTORY' => 1200,
2011-06-01 09:30:22 +00:00
'VOLUMES' => 1200,
),
2011-03-03 23:06:18 +00:00
'profiling' => TRUE,
),
);
?>