Subversion Repositories ALCASAR

Rev

Go to most recent revision | Details | Last modification | View Log

Rev Author Line No. Line
324 richard 1
<?php 
2
 
3
// phpSysInfo - A PHP System Information Script
4
// http://phpsysinfo.sourceforge.net/
5
 
6
// This program is free software; you can redistribute it and/or
7
// modify it under the terms of the GNU General Public License
8
// as published by the Free Software Foundation; either version 2
9
// of the License, or (at your option) any later version.
10
 
11
// This program is distributed in the hope that it will be useful,
12
// but WITHOUT ANY WARRANTY; without even the implied warranty of
13
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
// GNU General Public License for more details.
15
 
16
// You should have received a copy of the GNU General Public License
17
// along with this program; if not, write to the Free Software
18
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
19
 
20
// $Id: config.php.new,v 1.23 2007/02/18 19:02:59 bigmichi1 Exp $
21
 
22
// if $webpath set to an value it will be possible to include phpsysinfo with a simple include() statement in other scripts
23
// but the structure in the phpsysinfo directory can't be changed
24
// $webpath specifies the absolute path when you browse to the phpsysinfo page
25
// e.g.: your domain  www.yourdomain.com
26
//       you put the phpsysinfo directory at /phpsysinfo in the webroot
27
//       then normally you browse there with www.yourdomain.com/phpsysinfo
28
//       now you want to include the index.php from phpsysinfo in a script, locatet at /
29
//       then you need to set $webpath to /phpsysinfo/
30
// if you put the phpsysinfo folder at /tools/phpsysinfo $webpath will be /tools/phpsysinfo/
31
// you don't need to change it, if you don't include it in other pages
32
// so default will be fine for everyone
33
$webpath = "";
34
 
35
// define the default lng and template here
36
$default_lng='browser';
37
$default_template='alcasar';
38
 
39
// hide language and template picklist
40
// false = display picklist
41
// true = do not display picklist
42
$hide_picklist = true;
43
 
44
// display the virtual host name and address
45
// default is canonical host name and address
46
$show_vhostname = false;
47
 
48
// define the motherboard monitoring program here
49
// we support four programs so far
50
// 1. lmsensors  http://www.lm-sensors.org/
51
// 2. healthd    http://healthd.thehousleys.net/
52
// 3. hwsensors  http://www.openbsd.org/
53
// 4. mbmon      http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/download.html
54
// 5. mbm5       http://mbm.livewiredev.com/
55
 
56
// $sensor_program = "lmsensors";
57
// $sensor_program = "healthd";
58
// $sensor_program = "hwsensors";
59
// $sensor_program = "mbmon";
60
// $sensor_program = "mbm5";
61
$sensor_program = "";
62
 
63
// show mount point
64
// true = show mount point
65
// false = do not show mount point
66
$show_mount_point = true;
67
 
68
// show bind
69
// true = display filesystems mounted with the bind options under Linux
70
// false = hide them
71
$show_bind = true;
72
 
73
// show inode usage
74
// true = display used inodes in percent
75
// false = hide them
76
$show_inodes = false;
77
 
78
// Hide mount(s). Example:
79
// $hide_mounts = array( '/home', '/dev' );
80
$hide_mounts = array();
81
 
82
// Hide filesystem typess. Example:
83
// $hide_fstypes = array( 'tmpfs', 'usbfs' );
84
$hide_fstypes = array();
85
 
86
// if the hddtemp program is available we can read the temperature, if hdd is smart capable
87
// !!ATTENTION!! hddtemp might be a security issue
88
// $hddtemp_avail = "tcp";	// read data from hddtemp deamon (localhost:7634)
89
// $hddtemp_avail = "suid";     // read data from hddtemp programm (must be set suid)
90
 
91
// show a graph for current cpuload
92
// true = displayed, but it's a performance hit (because we have to wait to get a value, 1 second)
93
// false = will not be displayed
94
$loadbar = true;
95
 
96
// additional paths where to look for installed programs
97
// e.g. $addpaths = array('/opt/bin', '/opt/sbin');
98
$addpaths = array();
99
 
100
// display error messages at the top of the page
101
// $showerrors = true;          // show the errors
102
// $showerrors = false;         // don't show the errors
103
$showerrors = true;
104
 
105
// format in which temperature is displayed
106
// $temperatureformat = "c";	// shown in celsius
107
// $temperatureformat = "f";	// shown in fahrenheit
108
// $temperatureformat = "c-f";	// both shown first celsius and fahrenheit in braces
109
// $temperatureformat = "f-c";	// both shown first fahrenheit and celsius in braces
110
$temperatureformat = "c-f";
111
 
112
?>