vtiger510:Config Files

From http://wiki.vtiger.com/archives

This documentation applies to vtigerCRM 5.2.1 and vtigerCRM 5.2.0

Meta information of vtiger CRM are controlled through the configuration files.

Contents

config.inc.php

This is the core configuration file that is under the source directory.

$CALENDAR_DISPLAY 'true' or 'false' Show or Hide the Calendar toolbar icon
$WORLD_CLOCK_DISPLAY 'true' or 'false' Show or Hide the World clock toolbar icon
$CHAT_DISPLAY 'true' or 'false' Show or Hide the Chat toolbar icon
$PORTAL_URL http://en.vtiger.com/customerportal URL to customer portal setup
$HELPDESK_SUPPORT_EMAIL_ID 'itsupport@company.com'
$HELPDESK_SUPPORT_NAME 'Support Team'
$HELPDESK_SUPPORT_EMAIL_REPLY_ID 'support@company.com'
$site_URL URL that points to CRM installation on server like http://en.vtiger.com Should not end with /
$root_directory Absolute path to the CRM installation folder like /var/www/vtigercrm/ Should end with /
$upload_maxsize 3000000 Maximum allowed file upload size in bytes
$php_max_execution_time 0 Maximum script execution time allowed
$upload_badext List of file extensions that will be saved by suffixing .txt (plain-text) on the server
$list_max_entries_per_page 20 Number of records to be shown on a ListView page.
$history_max_viewed 5 Number of last visited records to be tracked.
$listview_max_textlength 40 Chop the text on ListView if it exceeds the limit, (use 0 to avoid chopping)
$default_module Home Module name to open post Login
$default_action index Module Action to use by default.
$default_theme softed Default Theme to be chosen on Login page.
$default_language en_us Default Language to choose on Login page.
$default_charset UTF-8 Default charset to use (for HTML output and Database interaction)
$default_timezone PHP Timezone You need to remove the comment // before enabling it
$disable_stats_tracking false Control stats tracking by vtiger (Refer our Privacy Policy)

config.performance.php

This file provides parameters that can improve vtiger CRM performance under heavy load of data. It is present under the source directory.

LOG4PHP_DEBUG false Set it true to enable log4php debugging
SQL_LOG_INCLUDE_CALLER false Should the caller information be captured in SQL Logging?
DB_DEFAULT_CHARSET_UTF8 true If database default charset is UTF-8, set this to true
ALLOW_MULTI_DB_CONNECTION_PER_REQUEST false Can a single request open multiple connections to database?
LISTVIEW_RECORD_CHANGE_INDICATOR true Compute record change indication for each record shown on listview
LISTVIEW_DEFAULT_SORTING true Turn-off default sorting in ListView, could eat up time as data grows
LISTVIEW_COMPUTE_PAGE_COUNT true Compute list view record count while loading listview everytime.
DETAILVIEW_RECORD_NAVIGATION true Control DetailView Record Navigation
Recommended Configuration

To get better performance we recommend you to turn-off certain features through the configuration in config.performance.php.

LOG4PHP_DEBUG false
SQL_LOG_INCLUDE_CALLER false
DB_DEFAULT_CHARSET_UTF8 true
ALLOW_MULTI_DB_CONNECTION_PER_REQUEST false
LISTVIEW_RECORD_CHANGE_INDICATOR false
LISTVIEW_DEFAULT_SORTING false
LISTVIEW_COMPUTE_PAGE_COUNT false
DETAILVIEW_RECORD_NAVIGATION false

config.cron.php

Configuring this file is necessary to have CRON script working. This file is in <vtigercrm-source-directory>/cron directory.

app_key application unique key - use the $application_unique_key from config.inc.php
Personal tools