Changeset 17821 for trunk/FACT++/www/viewer
- Timestamp:
- 05/10/14 14:22:16 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/www/viewer/index.php
r17818 r17821 197 197 return header("HTTP/1.0 400 File '".$file."' not found."); 198 198 199 $file = popen("/home/fact/FACT++/getevent ".$filename." ".$event." 2> /dev/null", "r"); 199 $command = "/home/fact/FACT++/getevent ".$filename." ".$event." 2> /dev/null"; 200 $file = popen($command, "r"); 200 201 if (!$file) 201 202 return header('HTTP/1.0 400 Could not open pipe.'); … … 204 205 $fil = array(); 205 206 206 $fil['runType'] 207 $fil['runType'] = trim(fread($file, 80)); 207 208 if (feof($file)) 208 209 return header('HTTP/1.0 400 Data not available.');
Note:
See TracChangeset
for help on using the changeset viewer.