Skip to content

Instantly share code, notes, and snippets.

@sadekbaroudi
sadekbaroudi / config_si.php
Created June 9, 2015 07:58
SugarCRM 7 - Silent Installer
<?php
$sugar_config_si = array (
'default_currency_iso4217' => 'USD',
'default_currency_name' => 'US Dollars',
'default_currency_significant_digits' => '2',
'default_currency_symbol' => '$',
'default_date_format' => 'Y-m-d',
'default_decimal_seperator' => '.',
'default_export_charset' => 'ISO-8859-1',
@sadekbaroudi
sadekbaroudi / createAndUpdateACLRoles.php
Created June 12, 2015 23:57
SugarCRM 7 - ACL Role create / update deployment script
<?php
define('sugarEntry', true);
require_once('include/entryPoint.php');
require_once('modules/ACLRoles/ACLRole.php');
require_once('modules/ACLActions/actiondefs.php');
// metadata for creates or updates, see all possibilities for 'def' in modules/ACLActions/actiondefs.php
$acl = array(
// Create new role