]> git.decadent.org.uk Git - memories.git/blob - debian/patches/201_use-debian-paths.diff
ff6f7bcb1da93c41051e77f82851e7f9e79107dd
[memories.git] / debian / patches / 201_use-debian-paths.diff
1 --- memories.orig/Memories/Config.pm.example
2 +++ memories/Memories/Config.pm.example
3 @@ -3,22 +3,22 @@
4  
5  # This parameter should be the external address of your Memories
6  # installation
7 -Memories->config->uri_base("http://memories.simon-cozens.org/");
8 +Memories->config->uri_base("http://localhost/memories/");
9  
10  # This is where your templates will live.
11  Memories->config->{template_root} = [
12 -    "/web/memories/mytemplates/", # User-defined templates
13 -    "/etc/memories/templates/",   # Factory templates
14 +    "/etc/memories/templates/",       # User-defined templates
15 +    "/usr/share/memories/templates/", # Factory templates
16  ];
17  
18  # Here is where uploaded photos will be stored. Your web server user
19  # should own this directory.
20 -Memories->config->{data_store} = "/web/photostore/";
21 +Memories->config->{data_store} = "/var/www/memories/store/";
22  
23  # You also need to configure your web server so that it serves files out
24  # of the data store; this URL should be where that data store directory
25  # is exposed on the web.
26 -Memories->config->{data_store_external} = "http://memories.simon-cozens.org/store/";
27 +Memories->config->{data_store_external} = "http://localhost/memories/store/";
28  
29  # Your database server: the first part should always be "dbi"; the
30  # second, the name of the DBD driver you're using (usually mysql unless