1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
--- config.inc.php.example 2008-07-14 15:38:16.000000000 -0300
+++ config.inc.php.example.new 2008-07-16 11:32:34.000000000 -0300
@@ -25,12 +25,8 @@
# dbname: Database name
######################################################################
-$dbtype = 'mysql';
-$dbhost = '127.0.0.1';
-$dbport = '3306';
-$dbuser = 'username';
-$dbpass = 'password';
-$dbname = 'scuttle';
+# dbconfig-common
+include_once('/etc/scuttle/database.php');
######################################################################
# You have finished configuring the database!
@@ -85,8 +81,11 @@
# reservedusers : An array of usernames that cannot be registered
######################################################################
+# $locale and $adminemail at
+# /var/cache/scuttle/config_debconf.php
+include_once('/var/lib/scuttle/config_debconf.inc.php');
+
$sitename = 'Scuttle';
-$locale = 'en_GB';
$top_include = 'top.inc.php';
$bottom_include = 'bottom.inc.php';
$shortdate = 'd-m-Y';
@@ -95,15 +94,14 @@
$defaultPerPage = 10;
$defaultRecentDays = 14;
$defaultOrderBy = 'date_desc';
-$TEMPLATES_DIR = dirname(__FILE__) .'/templates/';
+$TEMPLATES_DIR = '/usr/share/scuttle/www/templates/';
$root = NULL;
$cookieprefix = 'SCUTTLE';
$tableprefix = 'sc_';
-$adminemail = 'admin@example.org';
$cleanurls = false;
$usecache = false;
-$dir_cache = dirname(__FILE__) .'/cache/';
+$dir_cache = '/var/cache/scuttle';
$useredir = false;
$url_redir = 'http://www.google.com/url?sa=D&q=';
@@ -116,5 +114,5 @@
);
$reservedusers = array('all', 'watchlist');
-include_once('debug.inc.php');
+include_once('/usr/share/scuttle/www/debug.inc.php');
?>
|