summaryrefslogtreecommitdiff
path: root/www/album/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'www/album/patches/patch-aa')
-rw-r--r--www/album/patches/patch-aa24
1 files changed, 24 insertions, 0 deletions
diff --git a/www/album/patches/patch-aa b/www/album/patches/patch-aa
new file mode 100644
index 00000000000..2fd3673b2ec
--- /dev/null
+++ b/www/album/patches/patch-aa
@@ -0,0 +1,24 @@
+*** album.orig Wed Mar 9 14:59:01 2005
+--- album Wed Mar 9 15:01:17 2005
+***************
+*** 1308,1318 ****
+
+ unless ($themes) {
+ # Try to guess path
+! $themes = '/var/www/html' unless -x $themes;
+! $themes = '/var/www' unless -x $themes;
+! $themes = '/home/httpd' unless -x $themes;
+! $themes = '/home/http' unless -x $themes;
+! $themes = "$ENV{HOME}/public_html" unless -x $themes;
+ $themes = '' unless -x $themes;
+ $themes .= "/Themes" if $themes;
+ }
+--- 1308,1314 ----
+
+ unless ($themes) {
+ # Try to guess path
+! $themes = '/usr/pkg/share/httpd/htdocs/Album' unless -x $themes;
+! $themes = '/usr/pkg/share/Album' unless -x $themes;
+ $themes = '' unless -x $themes;
+ $themes .= "/Themes" if $themes;
+ }