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.9 KiB
35 lines
1.9 KiB
Index: config/defaults.inc.php |
|
--- config/defaults.inc.php.orig 2021-10-17 22:38:31.000000000 +0200 |
|
+++ config/defaults.inc.php 2021-10-22 21:19:54.900672000 +0200 |
|
@@ -33,7 +33,7 @@ |
|
// for Mysql: key, cipher, cert, capath, ca, verify_server_cert, |
|
// for Postgres: application_name, sslmode, sslcert, sslkey, sslrootcert, sslcrl, sslcompression, service. |
|
// e.g. 'mysql://roundcube:@localhost/roundcubemail?verify_server_cert=false' |
|
-$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 |
|
@@ -529,11 +529,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/'; |
|
|
|
// Location of temporary saved files such as attachments and cache 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 |
|
@@ -763,7 +763,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;
|
|
|