65 lines
2 KiB
PHP
65 lines
2 KiB
PHP
<?php
|
|
|
|
/**
|
|
* SuiteDesk site-specific configuration file.
|
|
*
|
|
* Read config/INSTALL.md for detailed information.
|
|
*
|
|
* IMPORTANT NOTE:
|
|
* This file may have been set to read-only by Drupal. If you make changes to
|
|
* this file, be sure to protect it again after making your modifications.
|
|
* Failure to remove write permission to this file is a security risk.
|
|
*/
|
|
|
|
// Database settings:
|
|
$db_url['default'] = 'mysql://username:password@localhost/databasename';
|
|
$db_prefix = '';
|
|
|
|
// SuiteCRM (a fork of SugarCRM) database access:
|
|
# $db_url['sugarcrm'] = 'mysql://username:password@localhost/databasename';
|
|
|
|
// Database default collation:
|
|
# $db_collation = 'utf8_general_ci';
|
|
|
|
// Access control for update.php script (see config/UPDATE.md):
|
|
$update_free_access = FALSE;
|
|
|
|
// Base URL (optional):
|
|
# $base_url = 'http://www.example.com'; // NO trailing slash!
|
|
|
|
// Cookie domain (optional):
|
|
# $cookie_domain = 'example.com';
|
|
|
|
// PHP settings:
|
|
ini_set('arg_separator.output', '&');
|
|
ini_set('magic_quotes_runtime', 0);
|
|
ini_set('magic_quotes_sybase', 0);
|
|
ini_set('session.cache_expire', 259200); // 72 horas
|
|
ini_set('session.cache_limiter', 'none'); // ¿nocache?
|
|
ini_set('session.cookie_lifetime', 2592000); // 30 días
|
|
ini_set('session.gc_maxlifetime', 259200); // 72 horas
|
|
ini_set('session.save_handler', 'user');
|
|
ini_set('session.use_cookies', 1);
|
|
ini_set('session.use_only_cookies', 1);
|
|
ini_set('session.use_trans_sid', 0);
|
|
ini_set('url_rewriter.tags', '');
|
|
# ini_set('memory_limit', '140M');
|
|
# ini_set('pcre.backtrack_limit', 200000);
|
|
# ini_set('pcre.recursion_limit', 200000);
|
|
|
|
// Global settings:
|
|
$conf = array(
|
|
// Site main values:
|
|
'site_name' => 'My SuiteDesk site',
|
|
# 'anonymous' => 'Visitor',
|
|
|
|
// Reverse proxy:
|
|
# 'reverse_proxy' => TRUE,
|
|
# 'reverse_proxy_addresses' => array('a.b.c.d', ...),
|
|
|
|
// Secure Pages (uncomment to deactivate secure pages SSL module):
|
|
# 'securepages_enable' => 0,
|
|
|
|
// Advanced CSS/JS Aggregation (uncomment to deactivate AdvAgg module):
|
|
# 'advagg_enabled' => 0,
|
|
);
|