Location: PHPKode > projects > DebWeb GUI > debwgui/config.php
<?php
// login settings
  // auth type can be PHP or HTTP
  $settings['AUTH_TYPE'] = 'PHP';
  $settings['USERNAME']  = 'admin';
  $settings['PASSWORD'] =  'db2d303c20b9468bbe90114d3d1874b3';
  $settings['PWDSALT'] =   'test';

// general settings
  // Hostname or IP adress of your server (without http:// and without trailing slash) !This has to be correct or you will not be able to login.
  $settings['HOSTNAME'] = '192.168.0.7';

  // if you feel unsecure with using sudo, you can disable it here (NOTE: the GUI will not be very functional without it)
  // Parameters: TRUE,FALSE
  $settings['USE_SUDO'] = TRUE;

  // are you going to use mrtg?
  // Parameters: TRUE,FALSE
  $settings['USE_MRTG'] = TRUE;
  $settings['MRTG_BIN'] = '/usr/bin/mrtg';

// *** variables *** //
// change these according to your system (they are set to standard locations by default)

  // remember to keep a space after sudo or it will look for $SUDO$COMMAND instead of $SUDO $COMMAND
  if ($settings['USE_SUDO']) {
  	$SUDO = ('/usr/bin/sudo ');
  }

  //*** commands ***//
    $CMD_LS          = ("$SUDO/bin/ls ");
    $CMD_CAT         = ("$SUDO/bin/cat ");
    $CMD_PS          = ("$SUDO/bin/ps ");
    $CMD_GREP        = ("$SUDO/bin/grep ");
    $CMD_UPDATERCD   = ("$SUDO/usr/sbin/update-rc.d ");
    $CMD_SYSCTL      = ("$SUDO/sbin/sysctl ");
    $CMD_UPTIME      = ("$SUDO/usr/bin/uptime ");
    $CMD_VMSTAT	     = ("$SUDO/usr/bin/vmstat ");

  //*** directories ***//
    $DIR_INITD = ('/etc/init.d');
    $DIR_PIDFILES = ('/var/run');


// version info
 $settings['VERSION'] = 'v0.4.1';
?>
Return current item: DebWeb GUI