--- 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('/etc/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');
 ?>
