This file is indexed.

/usr/share/IlohaMail/include/save_prefs.DB.inc is in ilohamail 0.8.14-0rc3sid6.2.

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
<?php
/********************************************************
    save_prefs.DB.inc
    
    (C)Copyright 2002 Ryo Chijiiwa
    This file is part of IlohaMail, released under GPL

	PURPOSE:
		Save prefs (in $my_prefs) to DB back-end
	PRE-CONDITIONS:
		"include/session_auth.inc"
                $session_dataID 
                $my_prefs
		
********************************************************/

include_once("../include/array2sql.inc");
include_once("../conf/db_conf.php");
include_once("../include/idba.$DB_TYPE.inc");

$iOpened = false;
	
$prefs_summary = trim(chop(implode("", $my_prefs)));

if (($session_dataID > 0) && (strlen($prefs_summary) > 10)){
	//connect to db
	$db = new idba_obj;
	if ($db->connect()){
		//update
		$sql = Array2SQL($DB_PREFS_TABLE, $my_prefs, "UPDATE");
		$sql.= " WHERE id=$session_dataID";
		if (!$db->query($sql)) echo "DB query failed: $sql <br>\n";
	}else{
		echo "DB connection failed.<br>\n";
	}
}

?>