[ Index ] |
|
Code source de eGroupWare 1.2.106-2 |
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 21228 2006-04-06 13:52:08Z ralfbecker $ 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='en'; 37 $default_template='classic'; 38 39 // hide language and template picklist 40 // false = display picklist 41 // true = do not display picklist 42 $hide_picklist = false; 43 44 // define the motherboard monitoring program here 45 // we support four programs so far 46 // 1. lmsensors http://www2.lm-sensors.nu/~lm78/ 47 // 2. healthd http://healthd.thehousleys.net/ 48 // 3. hwsensors http://www.openbsd.org/ 49 // 4. mbmon http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/download.html 50 // 5. mbm5 http://mbm.livewiredev.com/ 51 52 // $sensor_program = "lmsensors"; 53 // $sensor_program = "healthd"; 54 // $sensor_program = "hwsensors"; 55 // $sensor_program = "mbmon"; 56 // $sensor_program = "mbm5"; 57 $sensor_program = ""; 58 59 // show mount point 60 // true = show mount point 61 // false = do not show mount point 62 $show_mount_point = true; 63 64 // show bind 65 // true = display filesystems mounted with the bind options under Linux 66 // false = hide them 67 $show_bind = false; 68 69 // Hide mount(s). Example: 70 // $hide_mounts[] = '/home'; 71 72 // if the hddtemp program is available we can read the temperature, if hdd is smart capable 73 // !!ATTENTION!! hddtemp might be a security issue 74 // $hddtemp_avail = "tcp"; // read data from hddtemp deamon (localhost:7634) 75 // $hddtemp_avail = "suid"; // read data from hddtemp programm (must be set suid) 76 77 // show a graph for current cpuload 78 // true = displayed, but it's a performance hit (because we have to wait to get a value, 1 second) 79 // false = will not be displayed 80 $loadbar = false; 81 82 // additional paths where to look for installed programs 83 // e.g. $addpaths = array('/opt/bin', '/opt/sbin'); 84 $addpaths = array(); 85 86 // display error messages at the top of the page 87 // $showerrors = true; // show the errors 88 // $showerrors = false; // don't show the errors 89 $showerrors = true; 90 91 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 17:20:01 2007 | par Balluche grâce à PHPXref 0.7 |