]> git.pld-linux.org Git - packages/Apache-Gallery.git/blame - Apache-Gallery-cache_dir.patch
- change /var/tmp to /var/cache
[packages/Apache-Gallery.git] / Apache-Gallery-cache_dir.patch
CommitLineData
2a6c1970
PG
1--- ./lib/Apache/Gallery.pm.org 2005-09-16 08:53:04.000000000 +0000
2+++ ./lib/Apache/Gallery.pm 2006-04-26 20:03:10.000000000 +0000
3@@ -769,7 +769,7 @@
4
5 unless ($r->dir_config('GalleryCacheDir')) {
6
7- $cache_root = '/var/tmp/Apache-Gallery/';
8+ $cache_root = '/var/cache/Apache-Gallery/';
9 if ($r->server->is_virtual) {
10 $cache_root = File::Spec->catdir($cache_root, $r->server->server_hostname);
11 } else {
12@@ -1521,7 +1521,7 @@
13 The options are set in the httpd.conf/.htaccess file using the syntax:
14 B<PerlSetVar OptionName 'value'>
15
16-Example: B<PerlSetVar GalleryCacheDir '/var/tmp/Apache-Gallery/'>
17+Example: B<PerlSetVar GalleryCacheDir '/var/cache/Apache-Gallery/'>
18
19 =over 4
20
21@@ -1538,7 +1538,7 @@
22 =item B<GalleryCacheDir>
23
24 Directory where Apache::Gallery should create its cache with scaled
25-pictures. The default is /var/tmp/Apache-Gallery/ . Here, a directory
26+pictures. The default is /var/cache/Apache-Gallery/ . Here, a directory
27 for each virtualhost or location will be created automaticly. Make
28 sure your webserver has write access to the CacheDir.
29
30--- ./README.org 2005-09-16 08:32:12.000000000 +0000
31+++ ./README 2006-04-26 20:01:17.000000000 +0000
32@@ -19,7 +19,7 @@
33 The options are set in the httpd.conf/.htaccess file using the syntax:
34 PerlSetVar OptionName 'value'
35
36- Example: PerlSetVar GalleryCacheDir '/var/tmp/Apache-Gallery/'
37+ Example: PerlSetVar GalleryCacheDir '/var/cache/Apache-Gallery/'
38
39 GalleryAutoRotate
40 Some cameras, like the Canon G3, can detect the orientation of a the
41@@ -32,7 +32,7 @@
42
43 GalleryCacheDir
44 Directory where Apache::Gallery should create its cache with scaled
45- pictures. The default is /var/tmp/Apache-Gallery/ . Here, a
46+ pictures. The default is /var/cache/Apache-Gallery/ . Here, a
47 directory for each virtualhost or location will be created
48 automaticly. Make sure your webserver has write access to the
49 CacheDir.
50--- ./UPGRADE.org 2005-06-07 07:50:54.000000000 +0000
51+++ ./UPGRADE 2006-04-26 20:01:51.000000000 +0000
52@@ -68,7 +68,7 @@
53 directory (usually /tmp)
54 Since 0.5, your .cache subdirectories are no longer used and can be
55 safely deleted. All cached images are now kept in
56-/var/tmp/Apache-Gallery/ unless you set GalleryCacheDir.
57+/var/cache/Apache-Gallery/ unless you set GalleryCacheDir.
58
59 For users upgrading from 0.4 to 0.5
60
61@@ -86,7 +86,7 @@
62
63 A new option has been added:
64
65-PerlSetVar GalleryCacheDir '/var/tmp/Apache-Gallery/'
66+PerlSetVar GalleryCacheDir '/var/cache/Apache-Gallery/'
67
68 GalleryCacheDir is optional but you can use it to decide
69 where Apache::Gallery should place the scaled pictures.
This page took 0.039329 seconds and 4 git commands to generate.