Changeset 19369 for trunk/FACT++/www


Ignore:
Timestamp:
11/10/18 18:39:03 (6 years ago)
Author:
tbretz
Message:
Allow an easy change of the location of the getevent tool, send the command line for debugging purposes.
File:
1 edited

Legend:

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

    r19212 r19369  
    33if (!extension_loaded('v8js'))
    44    die("V8Js missing");
     5
     6$getevent = "/home/fact/FACT++/getevent";
    57
    68$path = array(
     
    197199    return header("HTTP/1.0 400 File '".$file."' not found.");
    198200
    199 $command = "/home/fact/FACT++/getevent ".$filename." ".$event." 2> /dev/null";
     201$command = $getevent." ".$filename." ".$event." 2> /dev/null";
    200202$file = popen($command, "r");
    201203if (!$file)
     
    273275//require_once("neighbors.php");
    274276
     277$rc['command'] = "getevent ".$filename." ".$event;
    275278//$rc['neighbors'] = $neighbors;
    276279$rc['event'] = $evt;
Note: See TracChangeset for help on using the changeset viewer.