]> git.decadent.org.uk Git - memories.git/blob - debian/patches/201_use-debian-paths.diff
Split changes into patches managed with quilt.
[memories.git] / debian / patches / 201_use-debian-paths.diff
1 --- trunk.orig/Memories/Config.pm
2 +++ trunk/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
27 --- trunk.orig/README
28 +++ trunk/README
29 @@ -24,7 +24,7 @@
30  You will also need a MySQL database. Again, in theory other databases
31  can be used, but in practice, you're on your own again.
32  
33 -Configure Maypole/Config.pm to your site, and follow the instructions in
34 +Configure /etc/memories/Config.pm to your site, and follow the instructions in
35  there - it will require you to set other things up as well.
36  
37  Test that everything works: