forked from makeyourcloud/myc-vtiger-customer-portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php
executable file
·40 lines (31 loc) · 1.89 KB
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
/* * *******************************************************************************
* The content of this file is subject to the MYC Vtiger Customer Portal license.
* ("License"); You may not use this file except in compliance with the License
* The Initial Developer of the Original Code is caboose s.l. - MakeYourCloud
* Portions created by caboose s.l. - MakeYourCloud are Copyright(C) caboose s.l. - MakeYourCloud
* All Rights Reserved.
* ****************************************************************************** */
global $vtiger_path;
global $portal_theme;
global $upload_dir;
global $languages;
global $hiddenmodules;
//This is the vtiger server path ie., the url to access the vtiger server in browser
//Ex. i access my vtiger as http://yourdomain.com:90/yourcrm/index.php so i will give as http://yourdomain.com:90/yourcrm
$vtiger_path = "http://yourdomain.com/yourcrm";
//Give a temporary directory path which is used when we upload attachment
$upload_dir = '/tmp';
//This is the default charset that will be used to encode data exchanged with vTiger;
$default_charset = 'UTF-8';
//This is an array of available languages declared as follow: "filename"=>"Language Label",
//the language file should be created in the language folder with the format: namespecified.lang.php
//Ex.: "en_us" will correspond to a file named "en_us.lang.php"
$languages = Array('en_us'=>'English','it_it'=>'Italiano');
//Define the default theme to apply to the portal, the theme folder should be present in the themes directory with the same name specified here
$portal_theme = 'default';
//Define wich module you want to force to be hidden
$hiddenmodules = array("ProjectTask","ProjectMilestone");
//Default timezone settings for the server, uncomment this if you have a bad configured server that shows you warning of if you want to use a different timezone than the server.
date_default_timezone_set('Europe/Rome');
?>