2 ######################################################################
3 # SCUTTLE: Online social bookmarks manager
4 ######################################################################
5 # Copyright (C) 2005 - 2006 Scuttle project
6 # http://sourceforge.net/projects/scuttle/
9 # This module is to configure the main options for your site
11 # This program is free software. You can redistribute it and/or modify
12 # it under the terms of the GNU General Public License as published by
13 # the Free Software Foundation; either version 2 of the License.
14 ######################################################################
16 ######################################################################
17 # Database Configuration
19 # dbtype: Database driver - mysql, mysqli, mysql4, oracle, postgres,
20 # sqlite, db2, firebird, mssql, mssq-odbc
21 # dbhost: Database hostname
22 # dbport: Database port
23 # dbuser: Database username
24 # dbpass: Database password
25 # dbname: Database name
26 ######################################################################
29 $dbhost = '127.0.0.1';
35 ######################################################################
36 # You have finished configuring the database!
37 # ONLY EDIT THE INFORMATION BELOW IF YOU KNOW WHAT YOU ARE DOING.
38 ######################################################################
39 # System Configuration
41 # sitename: The name of this site.
42 # locale: The locale used.
43 # top_include: The header file.
44 # bottom_include: The footer file.
45 # shortdate: The format of short dates.
46 # longdate: The format of long dates.
47 # nofollow: true - Include rel="nofollow" attribute on
49 # false - Don't include rel="nofollow".
50 # defaultPerPage: The default number of bookmarks per page.
52 # defaultRecentDays: The number of days that bookmarks or tags should
53 # be considered recent.
54 # defaultOrderBy: The default order in which bookmarks will appear.
55 # Possible values are:
56 # date_desc - By date of entry descending.
57 # Latest entry first. (Default)
58 # date_asc - By date of entry ascending.
59 # Earliest entry first.
60 # title_desc - By title, descending alphabetically.
61 # title_asc - By title, ascending alphabetically.
62 # url_desc - By URL, descending alphabetically.
63 # url_asc - By URL, ascending alphabetically.
64 # TEMPLATES_DIR: The directory where the template files should be
65 # loaded from (the *.tpl.php files)
66 # root : Set to NULL to autodetect the root url of the website
67 # cookieprefix : The prefix to use for the cookies on the site
68 # tableprefix : The table prefix used for this installation
69 # adminemail : Contact address for the site administrator. Used
70 # as the FROM address in password retrieval e-mails.
71 # cleanurls : true - Use mod_rewrite to hide PHP extensions
72 # : false - Don't hide extensions [Default]
74 # usecache : true - Cache pages when possible
75 # false - Don't cache at all [Default]
76 # dir_cache : The directory where cache files will be stored
78 # useredir : true - Improve privacy by redirecting all bookmarks
79 # through the address specified in url_redir
80 # false - Don't redirect bookmarks
81 # url_redir : URL prefix for bookmarks to redirect through
83 # filetypes : An array of bookmark extensions that Scuttle should
84 # add system tags for.
85 # reservedusers : An array of usernames that cannot be registered
86 ######################################################################
88 $sitename = 'Scuttle';
90 $top_include = 'top.inc.php';
91 $bottom_include = 'bottom.inc.php';
96 $defaultRecentDays = 14;
97 $defaultOrderBy = 'date_desc';
98 $TEMPLATES_DIR = dirname(__FILE__) .'/templates/';
100 $cookieprefix = 'SCUTTLE';
101 $tableprefix = 'sc_';
102 $adminemail = 'admin@example.org';
106 $dir_cache = dirname(__FILE__) .'/cache/';
109 $url_redir = 'http://www.google.com/url?sa=D&q=';
112 'audio' => array('mp3', 'ogg', 'wav'),
113 'document' => array('doc', 'odt', 'pdf'),
114 'image' => array('gif', 'jpeg', 'jpg', 'png'),
115 'video' => array('avi', 'mov', 'mp4', 'mpeg', 'mpg', 'wmv')
117 $reservedusers = array('all', 'watchlist');
119 include_once('debug.inc.php');