From ac3fe063dad5c754755a8f680ca5109a4750a21e Mon Sep 17 00:00:00 2001 From: Espen Antonsen Date: Mon, 25 May 2009 22:21:02 +0200 Subject: [PATCH] cap changes --- config/database.yml | 13 +++++-------- config/settings.yml | 10 +++++++--- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/config/database.yml b/config/database.yml index d216f36..e09cec9 100644 --- a/config/database.yml +++ b/config/database.yml @@ -4,12 +4,9 @@ development: username: gallery password: changeme production: - adapter: postgresql - database: gallery - username: gallery + adapter: mysql + encoding: utf8 + username: photogallery password: changeme -test: - adapter: postgresql - database: gallery_test - username: gallery - password: changeme \ No newline at end of file + database: gallery_production + socket: /var/run/mysqld/mysqld.sock \ No newline at end of file diff --git a/config/settings.yml b/config/settings.yml index 041d92a..0a39b8e 100644 --- a/config/settings.yml +++ b/config/settings.yml @@ -9,8 +9,12 @@ development: thumb_width: 200 thumb_height: 200 production: - site_name: Gallery + site_name: 'Espen Antonsen photos' admin_email: espen@inspired.no site_url: photos.inspired.no - photos_path: '/users/Espen/gallery/' - photos_path_public: '/photos/' \ No newline at end of file + photos_path: '/home/espen/photos/originals/' + thumbs_path: '/home/espen/photos/modified/' + photos_path_public: '/files/' + thumbs_path_public: '/thumbs/' + thumb_width: 200 + thumb_height: 200