summaryrefslogtreecommitdiff
path: root/Apache-Gallery-cache_dir.patch
blob: bd8a4ca33f91394841554cd3c7ffa6502a096c3d (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
--- ./lib/Apache/Gallery.pm.org	2005-09-16 08:53:04.000000000 +0000
+++ ./lib/Apache/Gallery.pm	2006-04-26 20:03:10.000000000 +0000
@@ -769,7 +769,7 @@
 
 	unless ($r->dir_config('GalleryCacheDir')) {
 
-		$cache_root = '/var/tmp/Apache-Gallery/';
+		$cache_root = '/var/cache/Apache-Gallery/';
 		if ($r->server->is_virtual) {
 			$cache_root = File::Spec->catdir($cache_root, $r->server->server_hostname);
 		} else {
@@ -1521,7 +1521,7 @@
 The options are set in the httpd.conf/.htaccess file using the syntax:
 B<PerlSetVar OptionName 'value'>
 
-Example: B<PerlSetVar GalleryCacheDir '/var/tmp/Apache-Gallery/'>
+Example: B<PerlSetVar GalleryCacheDir '/var/cache/Apache-Gallery/'>
 
 =over 4
 
@@ -1538,7 +1538,7 @@
 =item B<GalleryCacheDir>
 
 Directory where Apache::Gallery should create its cache with scaled
-pictures. The default is /var/tmp/Apache-Gallery/ . Here, a directory
+pictures. The default is /var/cache/Apache-Gallery/ . Here, a directory
 for each virtualhost or location will be created automaticly. Make
 sure your webserver has write access to the CacheDir.
 
--- ./README.org	2005-09-16 08:32:12.000000000 +0000
+++ ./README	2006-04-26 20:01:17.000000000 +0000
@@ -19,7 +19,7 @@
     The options are set in the httpd.conf/.htaccess file using the syntax:
     PerlSetVar OptionName 'value'
 
-    Example: PerlSetVar GalleryCacheDir '/var/tmp/Apache-Gallery/'
+    Example: PerlSetVar GalleryCacheDir '/var/cache/Apache-Gallery/'
 
     GalleryAutoRotate
         Some cameras, like the Canon G3, can detect the orientation of a the
@@ -32,7 +32,7 @@
 
     GalleryCacheDir
         Directory where Apache::Gallery should create its cache with scaled
-        pictures. The default is /var/tmp/Apache-Gallery/ . Here, a
+        pictures. The default is /var/cache/Apache-Gallery/ . Here, a
         directory for each virtualhost or location will be created
         automaticly. Make sure your webserver has write access to the
         CacheDir.
--- ./UPGRADE.org	2005-06-07 07:50:54.000000000 +0000
+++ ./UPGRADE	2006-04-26 20:01:51.000000000 +0000
@@ -68,7 +68,7 @@
 directory (usually /tmp)
 Since 0.5, your .cache subdirectories are no longer used and can be
 safely deleted. All cached images are now kept in
-/var/tmp/Apache-Gallery/ unless you set GalleryCacheDir.
+/var/cache/Apache-Gallery/ unless you set GalleryCacheDir.
 
 For users upgrading from 0.4 to 0.5
 
@@ -86,7 +86,7 @@
 
 A new option has been added:
 
-PerlSetVar	GalleryCacheDir '/var/tmp/Apache-Gallery/'
+PerlSetVar	GalleryCacheDir '/var/cache/Apache-Gallery/'
 
 GalleryCacheDir is optional but you can use it to decide
 where Apache::Gallery should place the scaled pictures.