Changeset 13755


Ignore:
Timestamp:
05/16/12 10:07:11 (13 years ago)
Author:
tbretz
Message:
Added username to dimctrl commandline.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/www/smartfact/index.php

    r13686 r13755  
    9393
    9494if (isset($_GET['stop']))
    95     $str = exec($path."/dimctrl --stop", $out, $rc);
     95    $str = exec($path."/dimctrl --user '".$_SERVER['PHP_AUTH_USER']."' --stop", $out, $rc);
    9696
    9797if (isset($_GET['start']))
     
    118118        $args .= ' \"'.$key.'='.$value.'\"';
    119119
    120     $str = exec($path.'/dimctrl --start "'.$args.'"', $out, $rc);
     120    $str = exec($path.'/dimctrl --user "'.$_SERVER['PHP_AUTH_USER'].'"  --start "'.$args.'"', $out, $rc);
    121121}
    122122
Note: See TracChangeset for help on using the changeset viewer.