Skip to content

Commit

Permalink
Merge pull request #1 from YetiForceCompany/developer
Browse files Browse the repository at this point in the history
Developer
  • Loading branch information
mariuszkrzaczkowski committed Oct 10, 2016
2 parents d75c668 + 75317e6 commit 7336bb3
Show file tree
Hide file tree
Showing 19 changed files with 901 additions and 591 deletions.
76 changes: 4 additions & 72 deletions config/config.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,78 +3,10 @@
Disable SSL for IMAP/SMTP
If your IMAP/SMTP servers are on the same host or are connected via a secure network, not using SSL connections improves performance. So don't use "ssl://" or "tls://" urls for 'default_host' and 'smtp_server' config options.
*/
$currentPath = getcwd();
chdir(dirname(__FILE__) . '/../../../../');
if (!$no_include_config) {
$currentPath = getcwd();
chdir(dirname(__FILE__) . '/../../../../');
include_once('include/ConfigUtils.php');
chdir($currentPath);
}
$config['db_dsnw'] = 'mysql://' . $dbconfig['db_username'] . ':' . $dbconfig['db_password'] . '@' . $dbconfig['db_server'] . ':' . $dbconfig['db_port'] . '/' . $dbconfig['db_name'];
$config['db_prefix'] = 'roundcube_';
$config['default_host'] = ['ssl://imap.gmail.com' => 'ssl://imap.gmail.com',];
$config['validate_cert'] = false;
$config['default_port'] = 993;
$config['smtp_server'] = 'ssl://smtp.gmail.com';
$config['smtp_port'] = 465;
$config['smtp_user'] = '%u';
$config['smtp_pass'] = '%p';
$config['support_url'] = 'http://yetiforce.com';
$config['des_key'] = 'rGOQ26hR%gxlZk=QA!$HMOvb';
$config['username_domain'] = 'gmail.com';
$config['product_name'] = 'YetiForce';
$config['plugins'] = array('identity_smtp', 'ical_attachments', 'yetiforce', 'thunderbird_labels', 'zipdownload');
$config['language'] = 'en_US';
$config['mime_param_folding'] = 0;
$config['skin_logo'] = array("*" => "/images/null.png");
$config['ip_check'] = false; ///
$config['enable_spellcheck'] = true;
$config['identities_level'] = '0';
$config['auto_create_user'] = true;
$config['mail_pagesize'] = 25;
$config['addressbook_pagesize'] = 50;
$config['prefer_html'] = true;
$config['preview_pane'] = false;
$config['htmleditor'] = '1';
$config['draft_autosave'] = 300;
$config['mdn_requests'] = '0';
$config['session_lifetime'] = 10;
$config['sendmail_delay'] = 0;
$config['date_long'] = 'Y-m-d H:i';
$config['date_format'] = 'Y-m-d';
$config['time_format'] = 'H:i';
$config['show_images'] = '0';
$config['imap_cache'] = 'db';
$config['messages_cache'] = 'db';

$config['debug_level'] = $DEBUG_CONFIG['ROUNDCUBE_DEBUG_LEVEL'];
$config['per_user_logging'] = $DEBUG_CONFIG['ROUNDCUBE_PER_USER_LOGGING'];
$config['smtp_log'] = $DEBUG_CONFIG['ROUNDCUBE_SMTP_LOG'];
$config['log_logins'] = $DEBUG_CONFIG['ROUNDCUBE_LOG_LOGINS'];
$config['log_session'] = $DEBUG_CONFIG['ROUNDCUBE_LOG_SESSION'];
$config['sql_debug'] = $DEBUG_CONFIG['ROUNDCUBE_SQL_DEBUG'];
$config['imap_debug'] = $DEBUG_CONFIG['ROUNDCUBE_IMAP_DEBUG'];
$config['ldap_debug'] = $DEBUG_CONFIG['ROUNDCUBE_LDAP_DEBUG'];
$config['smtp_debug'] = $DEBUG_CONFIG['ROUNDCUBE_SMTP_DEBUG'];
$config['log_dir'] = RCUBE_INSTALL_PATH . '/../../../cache/logs/';
$config['temp_dir'] = RCUBE_INSTALL_PATH . '/../../../cache/mail/';
$config['devel_mode'] = $DEBUG_CONFIG['ROUNDCUBE_DEVEL_MODE'];

$config['imap_conn_options'] = [
'ssl' => [
'verify_peer' => false,
'verfify_peer_name' => false,
],
];
$config['smtp_timeout'] = 5;
$config['smtp_conn_options'] = [
'ssl' => [
'verify_peer' => false,
'verfify_peer_name' => false,
],
];

$config['root_directory'] = ROOT_DIRECTORY . DIRECTORY_SEPARATOR;
$config['site_URL'] = $site_URL;
$config['imap_open_add_connection_type'] = true;
$config['enable_variables_in_signature'] = false;
$config['skin'] = 'yetiforce';
include_once('config/modules/OSSMail.php');
chdir($currentPath);
85 changes: 0 additions & 85 deletions config/config.inc.php.sample

This file was deleted.

40 changes: 0 additions & 40 deletions config/config.inc_old.php

This file was deleted.

Loading

0 comments on commit 7336bb3

Please sign in to comment.