termux-packages/packages/z-push/src-backend-imap-config.php.patch
2022-04-05 09:20:25 +09:00

12 lines
497 B
Diff

--- a/src/backend/imap/config.php
+++ b/src/backend/imap/config.php
@@ -204,7 +204,7 @@
// A file containing file mime types->extension mappings.
// SELINUX users: make sure the file has a security context accesible by your apache/php-fpm process
-define('SYSTEM_MIME_TYPES_MAPPING', '/etc/mime.types');
+define('SYSTEM_MIME_TYPES_MAPPING', '@TERMUX_PREFIX@/etc/mime.types');
// Use BackendCalDAV for Meetings. You cannot hope to get that functionality working without a caldav backend.