Changeset 17745 for trunk/FACT++/www


Ignore:
Timestamp:
04/30/14 20:20:15 (11 years ago)
Author:
tbretz
Message:
There is no need to send the neighbors with the output; trim the null bytes from the runType
File:
1 edited

Legend:

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

    r17740 r17745  
    184184$fil = array();
    185185
    186 $fil['runType']       = fread($file, 80);
     186$fil['runType']       = trim(fread($file, 80));
    187187$fil['runStart']      = get($file, "d");
    188188$fil['runEnd']        = get($file, "d");
     
    245245require_once("neighbors.php");
    246246
    247 $rc['neighbors'] = $neighbors;
     247//$rc['neighbors'] = $neighbors;
    248248$rc['event'] = $evt;
    249249$rc['file']  = $fil;
     
    375375$rc['memory'] = memory_get_peak_usage(true)/1024/1024;
    376376
     377//unset($rc['neighbors']);
     378
    377379// Output result as JSON object
    378380print(json_encode($rc));
Note: See TracChangeset for help on using the changeset viewer.