X-Git-Url: https://git.decadent.org.uk/gitweb/?p=memories.git;a=blobdiff_plain;f=debian%2Fpatches%2F201_use-debian-paths.diff;fp=debian%2Fpatches%2F201_use-debian-paths.diff;h=ff6f7bcb1da93c41051e77f82851e7f9e79107dd;hp=d2a1be846c1bdeb621c5a9db4e60dfec4d1748b7;hb=873b88d64b580485bd29c734b444a1e555892a3a;hpb=c4b2f2843ca943f5235a1abb001523bffb7205c4 diff --git a/debian/patches/201_use-debian-paths.diff b/debian/patches/201_use-debian-paths.diff index d2a1be8..ff6f7bc 100644 --- a/debian/patches/201_use-debian-paths.diff +++ b/debian/patches/201_use-debian-paths.diff @@ -1,6 +1,6 @@ ---- memories.orig/Memories/Config.pm -+++ memories/Memories/Config.pm -@@ -3,19 +3,19 @@ +--- memories.orig/Memories/Config.pm.example ++++ memories/Memories/Config.pm.example +@@ -3,22 +3,22 @@ # This parameter should be the external address of your Memories # installation @@ -8,8 +8,12 @@ +Memories->config->uri_base("http://localhost/memories/"); # This is where your templates will live. --Memories->config->{template_root} = "/home/simon/maypole-sites/memories/templates"; -+Memories->config->{template_root} = "/etc/memories/templates/"; + Memories->config->{template_root} = [ +- "/web/memories/mytemplates/", # User-defined templates +- "/etc/memories/templates/", # Factory templates ++ "/etc/memories/templates/", # User-defined templates ++ "/usr/share/memories/templates/", # Factory templates + ]; # Here is where uploaded photos will be stored. Your web server user # should own this directory.