This file is indexed.

/usr/share/knowledgeroot/config/config.inc.php.dist is in knowledgeroot 0.9.9.5-6.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
<?php
/*
 * Knowledgeroot
 * Configurationfile
 * Frank Habermann
 */

/**
 * Settings for default databaselayer
 * set type of database - pgsql or mysql or mysqli
 */
$CONFIG['db']['type'] = "mysql";

// configuration for database
$CONFIG['db']['host'] ="localhost";
$CONFIG['db']['user'] ="root";
$CONFIG['db']['pass'] = "";
$CONFIG['db']['database'] = "knowledgeroot";
$CONFIG['db']['schema'] = "public"; // only in pgsql
$CONFIG['db']['encoding'] = "LATIN1"; // only in pgsql

/**
 * Example for using mdb2 databaselayer
 * @see http://pear.php.net/manual/en/package.database.mdb2.intro-connect.php
 */
/*
$CONFIG['db']['type'] = "mdb2";
$CONFIG['db']['dsn'] = "pgsql://someuser:apasswd@localhost/thedb";
$CONFIG['db']['options'] = array(
	'debug' => 2,
	'result_buffering' => true, // this should always be enabled!!! if not no num_rows is available
);
*/

/**
 * Settings for errorlog
 */
$CONFIG['log']['level'] = ""; /*	0 - no errors are shown
					1 - errors are shown
					2 - errors and notices are shown
				*/

$CONFIG['log']['type'] = "none,apache,logfile,mail,screen"; // list with type of notifications
$CONFIG['log']['logfile'] = ""; // path to logfile if logfile is used
$CONFIG['log']['mail'] = ""; // set email to that notification will be send
$CONFIG['log']['mail_extra_header'] = ""; // set extra mail headers

$CONFIG['log']['setPhpError'] = true; // boolean - enable or disable to set php error by knowledgeroot
$CONFIG['log']['setPhpErrorReporting'] = E_ALL & ~ E_NOTICE; // set php error type

?>