- Timestamp:
- 08/18/12 12:21:38 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/www/smartfact/index.php
r14323 r14400 103 103 // http://ip-address-lookup-v4.com/ip/92.205.118.219 104 104 105 print($user); 106 105 107 return; 106 108 } … … 180 182 181 183 // $args = "filename":label --arg:"key1=value" --arg:"key2=value" 182 $cmd = $path.'/dimctrl --user "'.$_SERVER['PHP_AUTH_USER'].'" -- start'.escapeshellarg($script.$args);184 $cmd = $path.'/dimctrl --user "'.$_SERVER['PHP_AUTH_USER'].'" --batch '.escapeshellarg($script.$args); 183 185 184 186 // Execute … … 221 223 return header('HTTP/1.0 500 Execution failed [rc='.$rc."]"); 222 224 223 print($ rc);225 print($_SERVER['PHP_AUTH_USER']."\n".$rc); 224 226 225 227 if (isset($_GET['debug']))
Note:
See TracChangeset
for help on using the changeset viewer.