[ Index ]
 

Code source de vtiger CRM 5.0.2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/modules/System/ -> config.php (source)

   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.18 2006/04/22 14:35:56 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 = $site_URL."/modules/System/";
  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 = true;
  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  // show inode usage
  70  // true = display used inodes in percent
  71  // false = hide them
  72  $show_inodes = true;
  73  
  74  // Hide mount(s). Example:
  75  // $hide_mounts[] = '/home';
  76  
  77  // if the hddtemp program is available we can read the temperature, if hdd is smart capable
  78  // !!ATTENTION!! hddtemp might be a security issue
  79  // $hddtemp_avail = "tcp";    // read data from hddtemp deamon (localhost:7634)
  80  // $hddtemp_avail = "suid";     // read data from hddtemp programm (must be set suid)
  81  
  82  // show a graph for current cpuload
  83  // true = displayed, but it's a performance hit (because we have to wait to get a value, 1 second)
  84  // false = will not be displayed
  85  $loadbar = false;
  86  
  87  // additional paths where to look for installed programs
  88  // e.g. $addpaths = array('/opt/bin', '/opt/sbin');
  89  $addpaths = array();
  90  
  91  // display error messages at the top of the page
  92  // $showerrors = true;          // show the errors
  93  // $showerrors = false;         // don't show the errors
  94  $showerrors = true;
  95  
  96  ?>


Généré le : Sun Feb 25 10:22:19 2007 par Balluche grâce à PHPXref 0.7