some fixes

This commit is contained in:
2025-07-10 08:04:15 +00:00
parent 34fe281e2c
commit e37b4dd963
14 changed files with 121 additions and 93 deletions

View File

@@ -1,5 +1,6 @@
<?php
$sugar_config = array(
// created: 2025-07-10 06:50:17
$sugar_config = array (
'admin_access_control' => false,
'admin_export_only' => false,
'allow_pop_inbound' => true,
@@ -8,15 +9,15 @@ $sugar_config = array(
'common_ml_dir' => '',
'create_default_user' => false,
'currency' => '',
'dashlet_display_row_options' =>
array(
'dashlet_display_row_options' =>
array (
0 => '1',
1 => '3',
2 => '5',
3 => '10',
),
'date_formats' =>
array(
'date_formats' =>
array (
'Y-m-d' => '2010-12-23',
'm-d-Y' => '12-23-2010',
'd-m-Y' => '23-12-2010',
@@ -28,15 +29,16 @@ $sugar_config = array(
'm.d.Y' => '12.23.2010',
),
'datef' => 'm/d/Y',
'dbconfig' => array(
'dbconfig' =>
array (
'db_host_name' => 'localhost',
'db_user_name' => 'root',
'db_password' => '5z#JaL',
'db_name' => 'sugarcrm',
'db_type' => 'mysql',
),
'dbconfigoption' =>
array(
'dbconfigoption' =>
array (
'persistent' => true,
'autofree' => false,
'debug' => 0,
@@ -47,94 +49,94 @@ $sugar_config = array(
),
'default_action' => 'index',
'default_charset' => 'UTF-8',
'default_currencies' =>
array(
'AUD' =>
array(
'default_currencies' =>
array (
'AUD' =>
array (
'name' => 'Australian Dollars',
'iso4217' => 'AUD',
'symbol' => '$',
),
'BRL' =>
array(
'BRL' =>
array (
'name' => 'Brazilian Reais',
'iso4217' => 'BRL',
'symbol' => 'R$',
),
'GBP' =>
array(
'GBP' =>
array (
'name' => 'British Pounds',
'iso4217' => 'GBP',
'symbol' => 'ÂŁ',
),
'CAD' =>
array(
'CAD' =>
array (
'name' => 'Canadian Dollars',
'iso4217' => 'CAD',
'symbol' => '$',
),
'CNY' =>
array(
'CNY' =>
array (
'name' => 'Chinese Yuan',
'iso4217' => 'CNY',
'symbol' => '¥',
),
'EUR' =>
array(
'EUR' =>
array (
'name' => 'Euro',
'iso4217' => 'EUR',
'symbol' => '€',
),
'HKD' =>
array(
'HKD' =>
array (
'name' => 'Hong Kong Dollars',
'iso4217' => 'HKD',
'symbol' => '$',
),
'INR' =>
array(
'INR' =>
array (
'name' => 'Indian Rupees',
'iso4217' => 'INR',
'symbol' => '₨',
),
'KRW' =>
array(
'KRW' =>
array (
'name' => 'Korean Won',
'iso4217' => 'KRW',
'symbol' => 'â‚©',
),
'YEN' =>
array(
'YEN' =>
array (
'name' => 'Japanese Yen',
'iso4217' => 'JPY',
'symbol' => 'ÂĄ',
),
'MXM' =>
array(
'MXM' =>
array (
'name' => 'Mexican Pesos',
'iso4217' => 'MXM',
'symbol' => '$',
),
'SGD' =>
array(
'SGD' =>
array (
'name' => 'Singaporean Dollars',
'iso4217' => 'SGD',
'symbol' => '$',
),
'CHF' =>
array(
'CHF' =>
array (
'name' => 'Swiss Franc',
'iso4217' => 'CHF',
'symbol' => 'SFr.',
),
'THB' =>
array(
'THB' =>
array (
'name' => 'Thai Baht',
'iso4217' => 'THB',
'symbol' => '฿',
),
'USD' =>
array(
'USD' =>
array (
'name' => 'US Dollars',
'iso4217' => 'USD',
'symbol' => '$',
@@ -158,8 +160,8 @@ $sugar_config = array(
'default_navigation_paradigm' => 'm',
'default_number_grouping_seperator' => ',',
'default_password' => '',
'default_permissions' =>
array(
'default_permissions' =>
array (
'dir_mode' => 1528,
'file_mode' => 432,
'user' => '',
@@ -189,25 +191,25 @@ $sugar_config = array(
'googleClientId' => '751962231483-1pnk4heu9rc6mc38lb8sjfc6lo2qfqcn.apps.googleusercontent.com',
'googleClientSecret' => 'C6vjyBug2W2h7JefuMnlO-4j',
'googleRedirectUri' => 'http://system.saas-systems.pl/index.php?module=Users&action=googleLogin',
'googleScopes' =>
array(
'googleScopes' =>
array (
0 => 'https://www.googleapis.com/auth/calendar',
1 => 'https://www.googleapis.com/auth/userinfo.email',
2 => 'https://www.googleapis.com/auth/userinfo.profile',
),
'history_max_viewed' => 50,
'host_name' => 'https://crm.twinpol.com',
'http_referer' =>
array(
'actions' =>
array(
'http_referer' =>
array (
'actions' =>
array (
0 => 'saveInvoice',
),
'weak' => true,
'list' =>
array(
0 => 'saas-systems.pl',
1 => 'b2b-meritum.ddns.net',
'list' =>
array (
0 => 'crm.twinpol.com',
1 => 'accounts.google.com',
2 => 'crm-meritum.ddns.net',
3 => '83.3.222.246',
),
@@ -218,8 +220,8 @@ $sugar_config = array(
'installer_locked' => true,
'js_custom_version' => 1,
'js_lang_version' => 7,
'languages' =>
array(
'languages' =>
array (
'pl_pl' => 'Polski',
'en_us' => 'English (US)',
),
@@ -232,11 +234,11 @@ $sugar_config = array(
'log_dir' => '.',
'log_file' => 'sugarcrm.log',
'log_memory_usage' => false,
'logger' =>
array(
'logger' =>
array (
'level' => 'off',
'file' =>
array(
'file' =>
array (
'ext' => '.log',
'name' => 'sugarcrm',
'dateFormat' => '%c',
@@ -247,8 +249,8 @@ $sugar_config = array(
),
'max_dashlets_homepage' => '15',
'other_group_tab_displayed' => true,
'passwordsetting' =>
array(
'passwordsetting' =>
array (
'SystemGeneratedPasswordON' => '1',
'generatepasswordtmpl' => '33583ffa-c047-382e-35da-4e54c412cb94',
'lostpasswordtmpl' => '33bd20d2-916c-1029-54ae-4e54c406c303',
@@ -267,11 +269,11 @@ $sugar_config = array(
),
'portal_view' => 'single_user',
'require_accounts' => true,
'resource_management' =>
array(
'resource_management' =>
array (
'special_query_limit' => 50000,
'special_query_modules' =>
array(
'special_query_modules' =>
array (
0 => 'Reports',
1 => 'Export',
2 => 'Import',
@@ -297,8 +299,8 @@ $sugar_config = array(
'stack_trace_errors' => false,
'sugar_version' => '6.0.4',
'sugarbeet' => 0,
'time_formats' =>
array(
'time_formats' =>
array (
'H:i' => '23:00',
'h:ia' => '11:00pm',
'h:iA' => '11:00PM',
@@ -311,8 +313,8 @@ $sugar_config = array(
'tracker_max_display_length' => 15,
'translation_string_prefix' => false,
'unique_key' => '2b00a93f1188f2ede3ecc6e98ecbab1c',
'upload_badext' =>
array(
'upload_badext' =>
array (
0 => 'php',
1 => 'php3',
2 => 'php4',
@@ -335,11 +337,4 @@ $sugar_config = array(
'vcal_time' => '2',
'verify_client_ip' => false,
);
if ($_SERVER['HTTP_HOST'] == 'localhost:8080') {
$sugar_config['dbconfig']['db_host_name'] = 'twinpol-mysql56';
$sugar_config['dbconfig']['db_user_name'] = 'root';
$sugar_config['dbconfig']['db_password'] = 'rootpassword';
}
?>