[ Index ]
 

Code source de vtiger CRM 5.0.2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/ -> config.template.php (source)

   1  <?php
   2  /*********************************************************************************
   3   * The contents of this file are subject to the SugarCRM Public License Version 1.1.2
   4   * ("License"); You may not use this file except in compliance with the 
   5   * License. You may obtain a copy of the License at http://www.sugarcrm.com/SPL
   6   * Software distributed under the License is distributed on an  "AS IS"  basis,
   7   * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
   8   * the specific language governing rights and limitations under the License.
   9   * The Original Code is:  SugarCRM Open Source
  10   * The Initial Developer of the Original Code is SugarCRM, Inc.
  11   * Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.;
  12   * All Rights Reserved.
  13   * Contributor(s): ______________________________________.
  14  ********************************************************************************/
  15  
  16  include ('vtigerversion.php');
  17  
  18  // more than 8MB memory needed for graphics
  19  // memory limit default value = 16M
  20  ini_set('memory_limit','16M');
  21  
  22  // show or hide world clock, calculator and FCKEditor
  23  // world_clock_display default value = true
  24  // calculator_display default value = true
  25  // fckeditor_display default value = true
  26  $WORLD_CLOCK_DISPLAY = 'true';
  27  $CALCULATOR_DISPLAY = 'true';
  28  $FCKEDITOR_DISPLAY = 'true';
  29  
  30  // url for customer portal (Example: http://vtiger.com/portal)
  31  $PORTAL_URL = 'http://your-domain.com/customerportal';
  32  
  33  // helpdesk support email id and support name (Example: 'support@vtiger.com' and 'vtiger support')
  34  $HELPDESK_SUPPORT_EMAIL_ID = 'support@your-domain.com';
  35  $HELPDESK_SUPPORT_NAME = 'your-domain name';
  36  
  37  /* database configuration
  38        db_server
  39        db_port
  40        db_hostname
  41        db_username
  42        db_password
  43        db_name
  44  */
  45  
  46  $dbconfig['db_server'] = '_DBC_SERVER_';
  47  $dbconfig['db_port'] = ':_DBC_PORT_';
  48  $dbconfig['db_username'] = '_DBC_USER_';
  49  $dbconfig['db_password'] = '_DBC_PASS_';
  50  $dbconfig['db_name'] = '_DBC_NAME_';
  51  $dbconfig['db_type'] = '_DBC_TYPE_';
  52  $dbconfig['db_status'] = '_DB_STAT_';
  53  
  54  // TODO: test if port is empty
  55  // TODO: set db_hostname dependending on db_type
  56  $dbconfig['db_hostname'] = $dbconfig['db_server'].$dbconfig['db_port'];
  57  
  58  // log_sql default value = false
  59  $dbconfig['log_sql'] = false;
  60  
  61  // persistent default value = true
  62  $dbconfigoption['persistent'] = true;
  63  
  64  // autofree default value = false
  65  $dbconfigoption['autofree'] = false;
  66  
  67  // debug default value = 0
  68  $dbconfigoption['debug'] = 0;
  69  
  70  // seqname_format default value = '%s_seq'
  71  $dbconfigoption['seqname_format'] = '%s_seq';
  72  
  73  // portability default value = 0
  74  $dbconfigoption['portability'] = 0;
  75  
  76  // ssl default value = false
  77  $dbconfigoption['ssl'] = false;
  78  
  79  $host_name = $dbconfig['db_hostname'];
  80  
  81  $site_URL = '_SITE_URL_';
  82  
  83  // root directory path
  84  $root_directory = '_VT_ROOTDIR_';
  85  
  86  // cache direcory path
  87  $cache_dir = '_VT_CACHEDIR_';
  88  
  89  // tmp_dir default value prepended by cache_dir = images/
  90  $tmp_dir = '_VT_TMPDIR_';
  91  
  92  // import_dir default value prepended by cache_dir = import/
  93  $import_dir = 'cache/import/';
  94  
  95  // upload_dir default value prepended by cache_dir = upload/
  96  $upload_dir = '_VT_UPLOADDIR_';
  97  
  98  // mail server parameters
  99  $mail_server = '_MAIL_SERVER_';
 100  $mail_server_username = '_MAIL_USERNAME_';
 101  $mail_server_password = '_MAIL_PASSWORD_';
 102  
 103  // maximum file size for uploaded files in bytes also used when uploading import files
 104  // upload_maxsize default value = 3000000
 105  $upload_maxsize = 3000000;
 106  
 107  // flag to allow export functionality
 108  // 'all' to allow anyone to use exports 
 109  // 'admin' to only allow admins to export 
 110  // 'none' to block exports completely 
 111  // allow_exports default value = all
 112  $allow_exports = 'all';
 113  
 114  // files with one of these extensions will have '.txt' appended to their filename on upload
 115  // upload_badext default value = php, php3, php4, php5, pl, cgi, py, asp, cfm, js, vbs, html, htm
 116  $upload_badext = array('php', 'php3', 'php4', 'php5', 'pl', 'cgi', 'py', 'asp', 'cfm', 'js', 'vbs', 'html', 'htm');
 117  
 118  // full path to include directory including the trailing slash
 119  // includeDirectory default value = $root_directory..'include/
 120  $includeDirectory = $root_directory.'include/';
 121  
 122  // list_max_entries_per_page default value = 20
 123  $list_max_entries_per_page = '20';
 124  
 125  // limitpage_navigation default value = 5
 126  $limitpage_navigation = '5';
 127  
 128  // history_max_viewed default value = 5
 129  $history_max_viewed = '5';
 130  
 131  // define list of menu tabs
 132  //$moduleList = Array('Home', 'Dashboard', 'Contacts', 'Accounts', 'Opportunities', 'Cases', 'Notes', 'Calls', 'Emails', 'Meetings', 'Tasks','MessageBoard');
 133  
 134  // map sugar language codes to jscalendar language codes
 135  // unimplemented until jscalendar language files are fixed
 136  // $cal_codes = array('en_us'=>'en', 'ja'=>'jp', 'sp_ve'=>'sp', 'it_it'=>'it', 'tw_zh'=>'zh', 'pt_br'=>'pt', 'se'=>'sv', 'cn_zh'=>'zh', 'ge_ge'=>'de', 'ge_ch'=>'de', 'fr'=>'fr');
 137  
 138  // default_module default value = Home
 139  $default_module = 'Home';
 140  
 141  // default_action default value = index
 142  $default_action = 'index';
 143  
 144  // set default theme
 145  // default_theme default value = blue
 146  $default_theme = 'bluelagoon';
 147  
 148  // show or hide time to compose each page
 149  // calculate_response_time default value = true
 150  $calculate_response_time = true;
 151  
 152  // default text that is placed initially in the login form for user name
 153  // no default_user_name default value
 154  $default_user_name = '';
 155  
 156  // default text that is placed initially in the login form for password
 157  // no default_password default value
 158  $default_password = '';
 159  
 160  // create user with default username and password
 161  // create_default_user default value = false
 162  $create_default_user = false;
 163  // default_user_is_admin default value = false
 164  $default_user_is_admin = false;
 165  
 166  // if your MySQL/PHP configuration does not support persistent connections set this to true to avoid a large performance slowdown
 167  // disable_persistent_connections default value = false
 168  $disable_persistent_connections = false;
 169  
 170  // defined languages available. the key must be the language file prefix. (Example 'en_us' is the prefix for every 'en_us.lang.php' file)
 171  // languages default value = en_us=>US English
 172  $languages = Array('en_us'=>'US English',);
 173  
 174  //Master currency name
 175  $currency_name = '_MASTER_CURRENCY_';
 176  
 177  // default charset
 178  // default charset default value = ISO-8859-1
 179  $default_charset = 'ISO-8859-1';
 180  
 181  // default language
 182  // default_language default value = en_us
 183  $default_language = 'en_us';
 184  
 185  // add the language pack name to every translation string in the display.
 186  // translation_string_prefix default value = false
 187  $translation_string_prefix = false;
 188  
 189  //Option to cache tabs permissions for speed.
 190  $cache_tab_perms = true;
 191  
 192  //Option to hide empty home blocks if no entries.
 193  $display_empty_home_blocks = false;
 194  
 195  // Generating Unique Application Key
 196  $application_unique_key = '_VT_APP_UNIQKEY_';
 197  ?>


Généré le : Sun Feb 25 10:22:19 2007 par Balluche grâce à PHPXref 0.7