Files
sourceforge-ossez/oss/vtiger/trunk/config.performance.php
T
YuCheng Hu f90c2d3729 添加到 trunk
+YUCHENG HU+

git-svn-id: https://svn.code.sf.net/p/hawebs/svn@350 a2543c7e-f6e9-4f8a-8bff-1ffc34733512
2010-06-17 18:26:22 +00:00

40 lines
1.6 KiB
PHP

<?php
/*+**********************************************************************************
* The contents of this file are subject to the vtiger CRM Public License Version 1.0
* ("License"); You may not use this file except in compliance with the License
* The Original Code is: vtiger CRM Open Source
* The Initial Developer of the Original Code is vtiger.
* Portions created by vtiger are Copyright (C) vtiger.
* All Rights Reserved.
************************************************************************************/
/* Performance paramters can be configured to fine tune vtiger CRM runtime */
$PERFORMANCE_CONFIG = Array(
// Enable log4php debugging only if requried
'LOG4PHP_DEBUG' => false,
// Should the caller information be captured in SQL Logging?
// It adds little overhead for performance but will be useful to debug
'SQL_LOG_INCLUDE_CALLER' => true,
// If database default charset is UTF-8, set this to true
// This avoids executing the SET NAMES SQL for each query!
'DB_DEFAULT_CHARSET_UTF8' => true,
// To avoid overshooting max_connections configured for database server
// it is preferable to have this parameter set to false
'ALLOW_MULTI_DB_CONNECTION_PER_REQUEST' => false,
// Compute record change indication for each record shown on listview
'LISTVIEW_RECORD_CHANGE_INDICATOR' => true,
// Turn-off default sorting in ListView, could eat up time as data grows
'LISTVIEW_DEFAULT_SORTING' => false,
// Compute list view record count while loading listview everytime.
// Recommended value false
'LISTVIEW_COMPUTE_PAGE_COUNT' => true,
// Control DetailView Record Navigation
'DETAILVIEW_RECORD_NAVIGATION' => true,
);
?>