Changeset 13758 for trunk/FACT++/www/smartfact/index.php
- Timestamp:
- 05/16/12 15:33:40 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/www/smartfact/index.php
r13755 r13758 97 97 if (isset($_GET['start'])) 98 98 { 99 $args = '\"'.$_GET['start'].'\"'; 99 // Filename 100 $args = '"'.$_GET['start'].'"'; 100 101 101 102 unset($_GET['start']); … … 108 109 */ 109 110 111 // Label 110 112 if (isset($_GET['label'])) 111 113 { … … 115 117 } 116 118 119 // Arguments 117 120 foreach ($_GET as $key => $value) 118 $args .= ' \"'.$key.'='.$value.'\"';121 $args .= ' --arg:"'.$key.'='.$value.'"'; 119 122 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); 121 125 } 122 126
Note:
See TracChangeset
for help on using the changeset viewer.