summaryrefslogtreecommitdiff
path: root/mail/squirrelmail/patches/patch-aa
blob: f512f15ed8350ea8d85cea04283cc93268cc5482 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
$NetBSD: patch-aa,v 1.17 2012/12/28 04:03:34 taca Exp $

Make this pkgsrc friendly.

--- config/config_default.php.orig	2012-12-24 15:11:12.000000000 +0000
+++ config/config_default.php
@@ -446,7 +446,7 @@ $default_sub_of_inbox = true;
  * false. (Cyrus works fine whether it's true OR false).
  * @global bool $show_contain_subfolders_option
  */
-$show_contain_subfolders_option = false;
+$show_contain_subfolders_option = true;
 
 /**
  * These next two options set the defaults for the way that the
@@ -487,7 +487,7 @@ $noselect_fix_enable = false;
  *   Here are two examples:
  *
  * Absolute:
- *   $data_dir = '/var/local/squirrelmail/data/';
+ *   $data_dir = '@USER_PREFS_DIR@/';
  *
  * Relative (to main SM directory):
  *   $data_dir = SM_PATH . 'data/';
@@ -496,7 +496,7 @@ $noselect_fix_enable = false;
  *
  * @global string $data_dir
  */
-$data_dir = '/var/local/squirrelmail/data/';
+$data_dir = '@USER_PREFS_DIR@/';
 
 /**
  * Attachments directory
@@ -514,7 +514,7 @@ $data_dir = '/var/local/squirrelmail/dat
  *    + It should probably be another directory than data_dir.
  * @global string $attachment_dir
  */
-$attachment_dir = '/var/local/squirrelmail/attach/';
+$attachment_dir = '@ATTACHMENTS_DIR@/';
 
 /**
  * Hash level used for data directory.