Ignore:
Timestamp:
Jan 5, 2014, 2:06:13 PM (11 years ago)
Author:
maron
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/system.php

    r691 r708  
    408408                $Output .= '<br />';
    409409                $Output .= $this->ShowSearchBox();
     410
     411                if($this->System->User->Licence(LICENCE_ADMIN)) {
     412                  $fileprocesstask = dirname(__FILE__).'/../'.$this->Config['Web']['TempFolder'].'ProcessTask';
     413      if (file_exists($fileprocesstask)) {
     414        if (filemtime($fileprocesstask) > (time()-1-$this->Config['ExportTaskProcessPeriod'])) {
     415           $Output .= 'ProcessTask je online<br />';
     416        } else $Output .= '<b>ProcessTask je offline</b><br />';
     417      } else $Output .= '<b>ProcessTask je offline</b><br />';
     418    }
    410419                $Output .= '</td><td id="border-left"></td><td class="content">';
    411420                return($Output);
Note: See TracChangeset for help on using the changeset viewer.