X-Git-Url: https://git.decadent.org.uk/gitweb/?p=memories.git;a=blobdiff_plain;f=Memories%2FConfig.pm;fp=Memories%2FConfig.pm;h=0000000000000000000000000000000000000000;hp=9796ab0971da169b73683c9ce3304cb3d9eb0f8b;hb=c4b2f2843ca943f5235a1abb001523bffb7205c4;hpb=6c828edcb380b80c77f01caecd306337a954de36 diff --git a/Memories/Config.pm b/Memories/Config.pm deleted file mode 100644 index 9796ab0..0000000 --- a/Memories/Config.pm +++ /dev/null @@ -1,58 +0,0 @@ -package Memories::Config; -# PATHS AND URLS - -# This parameter should be the external address of your Memories -# installation -Memories->config->uri_base("http://memories.simon-cozens.org/"); - -# This is where your templates will live. -Memories->config->{template_root} = "/home/simon/maypole-sites/memories/templates"; - -# Here is where uploaded photos will be stored. Your web server user -# should own this directory. -Memories->config->{data_store} = "/web/photostore/"; - -# You also need to configure your web server so that it serves files out -# of the data store; this URL should be where that data store directory -# is exposed on the web. -Memories->config->{data_store_external} = "http://memories.simon-cozens.org/store/"; - -# Your database server: the first part should always be "dbi"; the -# second, the name of the DBD driver you're using (usually mysql unless -# you want to do your own thing); the final part, the name of the -# database. -# -# Initialize this database from memories.sql and give www-data (or -# equivalent) read/write access to all tables. -Memories->config->{dsn} = "dbi:mysql:memories"; - -# SESSION MANAGEMENT -# -# The name of any cookies this application should give out -Memories->config->{auth}{cookie_name} = "memories"; - -# Session file storage. Create these directories and have them owned by -# www-data -Memories->config->{auth}{session_args} = { - Directory => "/var/lib/memories/sessions", - LockDirectory => "/var/lib/memories/sessionlock", - }; - -# This is where your Image::Seek library will be stored. -Memories->config->{image_seek} = "/var/lib/memories/imageseek.db"; - -# DISPLAY PARAMETERS -# -# It's OK to leave these as they are. -# -# The size of thumbnails to generate -Memories->config->{thumb_size} = "90x90"; - -# Sizes you want to scale to. "full" is special. -Memories->config->{sizes} = - [ qw/ 150x100 300x200 640x480 800x600 1024x768 1280x1024 full /]; - -# Number of photos on a page. It's best if this is a multiple of three -Memories->config->{photos_per_page} = 21; - -1;