'http://serveursi:86', //Portal URL without trialing/ //Example: http://yourdomain.com/portal 'portal.url' => 'http://serveursi:86/customerportal', 'crm.version' => '7.1.0', // Framework version for API 'language' => 'en_us', // Default Language for API. Note : Changing the language here will not change the default/login language for Portal user. 'layout' => 'default', ); protected static function getData() { global $crmUrlFromPC; $crmUrl = self::$data['crm.url']; if (!$crmUrl && $crmUrlFromPC) { $crmUrl = $crmUrlFromPC; self::$data['crm.url'] = $crmUrlFromPC; } if ($crmUrl) { self::$data['crm.connect.url'] = $crmUrl.'/modules/CustomerPortal/api.php'; } global $portalUrlFromPC; $portalUrl = self::$data['portal.url']; if (!$portalUrl && $portalUrlFromPC) { self::$data['portal.url'] = $portalUrlFromPC; } self::$data['upload_max_filesize'] = '100 MB'; //defaultUiLanguage is the ui language, should be one of the values from availableLanguages. self::$data['ui.Language'] = array('label' => 'US English', 'value' => 'en_us'); //availableLanguages is the array containing all the label and value pair of all supported languages. self::$data['languages'] = array( array('label' => 'US English', 'value' => 'en_us'), array('label' => 'DE Deutsch', 'value' => 'de_de'), array('label' => 'PT Brasil', 'value' => 'pt_br'), array('label' => 'Francais', 'value' => 'fr_fr'), array('label' => 'Turkce Dil Paketi', 'value' => 'tr_tr') ); return self::$data; } } //Give a temporary directory path which is used when we upload attachment $upload_dir = '/tmp'; //The character set to be used as character encoding for all soap requests $default_charset = 'UTF-8'; //'ISO-8859-1'; $default_language = 'en_us';