root/trunk/includes/EDIT_config_server.inc.php

Revision 27, 1.9 KB (checked in by alexx, 6 years ago)
  • Add support for .node album in Meta album (not usefull for dotnode.com user, but good for other "Open .node" installation that want to import dotnode.com album)
  • Add REST api to access .node Album (must be extented later with other module of .node)
  • Add forgotten icons for meta album
  • Add dPics scripts to automagicaly resize requested image with size put in his url (<dpics script>/500x400/<file_path>.jpg => give you <file_path>.jpg in 500x400)
Line 
1<?php
2/****************************************************** Open .node ***
3 * Description:   Configuration template
4 * Status:        Stable.
5 * Author:        Alexandre Dath <alexandre@dotnode.com>
6 * $Id$
7 *
8 * Copyright (C) 2005 Alexandre Dath <alexandre@dotnode.com>
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software Foundation,
22 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23 ******************** http://opensource.ikse.net/projects/dotnode ***/
24
25
26$config['domain'] = 'xxx.dotnode.net';
27$config['email'] = 'email_of_a_resp';
28$config['admin_login'] = 'admin_login';
29$config['admin_ip'] = 'admin_ip';
30
31$dsn = array(
32    'phptype'  => 'mysql',
33    'username' => '__login__',
34    'password' => '__password__',
35    'hostspec' => 'localhost',
36    'database' => '__db_name__'
37);
38
39$dsn_wiki  = array(
40    'phptype'  => 'mysql',
41    'username' => 'wiki',
42    'password' => 'read-only',
43    'hostspec' => 'localhost',
44    'database' => 'dotnode_wiki'
45);
46
47// Get it on http://www.flickr.com/services/api/key.gne
48$config['metalbum']['flickr']['api_key'] = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';
49
50// It's you interalbum.com login + mms code like this : "login@mmscode"
51$config['metalbum']['interalbum']['api_key'] = 'xxxxxx@xxxx';
52
53// It's your ID on dotnode.com (32 chars a-f0-9)
54$config['metalbum']['dotnode']['api_key'] = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';
55?>
Note: See TracBrowser for help on using the browser.