This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/***CONFIGURATOR***/ | |
$sugar_config['js_custom_version'] = ''; | |
$sugar_config['list_max_entries_per_page'] = '15'; | |
$sugar_config['default_module_favicon'] = false; | |
$sugar_config['dashlet_auto_refresh_min'] = '30'; | |
$sugar_config['show_download_tab'] = true; | |
$sugar_config['enable_action_menu'] = true; | |
$sugar_config['stack_trace_errors'] = false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/***CONFIGURATOR***/ | |
$sugar_config['save_query'] = 'populate_only'; | |
$sugar_config['verify_client_ip'] = false; | |
$sugar_config['disable_count_query'] = true; | |
$sugar_config['disable_vcr'] = true; | |
$sugar_config['hide_subpanels'] = true; | |
$sugar_config['hide_subpanels_on_login'] = true; | |
$sugar_config['external_cache_disabled'] = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// avoids the Cross-site forgery attack blocker | |
$sugar_config['http_referer']['list'][] = 'localhost'; | |
$sugar_config['http_referer']['actions'] = array( 'index', 'ListView', 'DetailView', 'EditView', 'Authenticate', 'Login' ); | |
// or | |
$sugar_config['http_referer']['list']['0'] = 'localhost'; | |
$sugar_config['http_referer']['actions']['0'] = 'index'; | |
$sugar_config['http_referer']['actions']['1'] = 'ListView'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if(!defined('sugarEntry')) define('sugarEntry', true); | |
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); | |
require_once('include/entryPoint.php'); | |
global $db; | |
global $moduleList; | |
///////////////////////////////////////////////////////////////////////////////// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if(!defined('sugarEntry')) define('sugarEntry', true); | |
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); | |
require_once('include/entryPoint.php'); | |
//global $db; | |
//global $moduleList; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Created by PhpStorm. | |
* User: emil | |
* Date: 21.11.14 | |
* Time: 12:05 | |
*/ | |
if(!defined('sugarEntry'))define('sugarEntry', true); | |
require_once('include/entryPoint.php'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Module Loader Restriction Alternatives | |
http://support.sugarcrm.com/02_Documentation/04_Sugar_Developer/Sugar_Developer_Guide_7.2/70_API/Application/Module_Loader/20_Module_Loader_Restriction_Alternatives/ | |
Module Loader Restrictions | |
http://support.sugarcrm.com/02_Documentation/04_Sugar_Developer/Sugar_Developer_Guide_6.7/02_Application_Framework/Module_Loader/00_Module_Loader_Restrictions/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/***CONFIGURATOR***/ | |
$sugar_config['admin_access_control'] = false; | |
$sugar_config['admin_export_only'] = true; | |
$sugar_config['cache_dir'] = 'cache/'; | |
$sugar_config['calculate_response_time'] = false; | |
$sugar_config['dbconfigoption']['persistent'] = false; | |
$sugar_config['dbconfigoption']['autofree'] = false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// most entry points have this, except soap.php | |
// require_once ('log4php/LoggerManager.php'); # deprecated | |
require_once('include/SugarLogger/LoggerManager.php'); | |
$GLOBALS['log'] = LoggerManager::getLogger('SugarCRM'); | |
// depending on what your log level is set at in log4php.properties | |
$GLOBALS['log']->fatal(msg); | |
$GLOBALS['log']->debug(msg); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo find / -name '*' -size +1G | |
sudo truncate -s0 error_log |
OlderNewer