Ignore:
Timestamp:
05/16/12 15:33:40 (13 years ago)
Author:
tbretz
Message:
Pass the user name as well.
File:
1 edited

Legend:

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

    r13755 r13758  
    9797if (isset($_GET['start']))
    9898{
    99     $args = '\"'.$_GET['start'].'\"';
     99    // Filename
     100    $args = '"'.$_GET['start'].'"';
    100101
    101102    unset($_GET['start']);
     
    108109     */
    109110
     111    // Label
    110112    if (isset($_GET['label']))
    111113    {
     
    115117    }
    116118
     119    // Arguments
    117120    foreach ($_GET as $key => $value)
    118         $args .= ' \"'.$key.'='.$value.'\"';
     121        $args .= ' --arg:"'.$key.'='.$value.'"';
    119122
    120     $str = exec($path.'/dimctrl --user "'.$_SERVER['PHP_AUTH_USER'].'"  --start "'.$args.'"', $out, $rc);
     123    // $args = "filename":label --arg:"key1=value" --arg:"key2=value"
     124    $str = exec($path.'/dimctrl --user "'.$_SERVER['PHP_AUTH_USER'].'"  --start '.$args, $out, $rc);
    121125}
    122126
Note: See TracChangeset for help on using the changeset viewer.