You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

35 lines
1.8 KiB

Index: config/defaults.inc.php
--- config/defaults.inc.php.orig 2017-06-26 20:57:43.000000000 +0200
+++ config/defaults.inc.php 2017-06-27 08:46:59.846254000 +0200
@@ -25,7 +25,7 @@
// For examples see http://pear.php.net/manual/en/package.database.mdb2.intro-dsn.php
// NOTE: for SQLite use absolute path (Linux): 'sqlite:////full/path/to/sqlite.db?mode=0646'
// or (Windows): 'sqlite:///C:/full/path/to/sqlite.db'
-$config['db_dsnw'] = 'mysql://roundcube:@localhost/roundcubemail';
+$config['db_dsnw'] = 'pgsql://roundcube:roundcube@localhost/roundcube';
// Database DSN for read-only operations (if empty write database will be used)
// useful for database replication
@@ -382,11 +382,11 @@
// use this folder to store log files
// must be writeable for the user who runs PHP process (Apache user if mod_php is being used)
// This is used by the 'file' log driver.
-$config['log_dir'] = RCUBE_INSTALL_PATH . 'logs/';
+$config['log_dir'] = '@l_prefix@/var/roundcube/log/';
// use this folder to store temp files
// must be writeable for the user who runs PHP process (Apache user if mod_php is being used)
-$config['temp_dir'] = RCUBE_INSTALL_PATH . 'temp/';
+$config['temp_dir'] = '@l_prefix@/var/roundcube/tmp/';
// expire files in temp_dir after 48 hours
// possible units: s, m, h, d, w
@@ -601,7 +601,7 @@
// This is used to derive mime-types from the filename extension or vice versa.
// Such a file is usually part of the apache webserver. If you don't find a file named mime.types on your system,
// download it from http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types
-$config['mime_types'] = null;
+$config['mime_types'] = '@l_prefix@/etc/apache/mime.types';
// path to imagemagick identify binary (if not set we'll use Imagick or GD extensions)
$config['im_identify_path'] = null;