]> git.decadent.org.uk Git - memories.git/blob - debian/patches/201_use-debian-paths.diff
d2a1be846c1bdeb621c5a9db4e60dfec4d1748b7
[memories.git] / debian / patches / 201_use-debian-paths.diff
1 --- memories.orig/Memories/Config.pm
2 +++ memories/Memories/Config.pm
3 @@ -3,19 +3,19 @@
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} = "/home/simon/maypole-sites/memories/templates";
12 +Memories->config->{template_root} = "/etc/memories/templates/";
13  
14  # Here is where uploaded photos will be stored. Your web server user
15  # should own this directory.
16 -Memories->config->{data_store} = "/web/photostore/";
17 +Memories->config->{data_store} = "/var/www/memories/store/";
18  
19  # You also need to configure your web server so that it serves files out
20  # of the data store; this URL should be where that data store directory
21  # is exposed on the web.
22 -Memories->config->{data_store_external} = "http://memories.simon-cozens.org/store/";
23 +Memories->config->{data_store_external} = "http://localhost/memories/store/";
24  
25  # Your database server: the first part should always be "dbi"; the
26  # second, the name of the DBD driver you're using (usually mysql unless