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

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Export/ProcessTask.php

    r703 r708  
    1717        $File = new FileStream();
    1818        $File->CreateFile($Export->TempDir.'progress');
    19         $File->WriteLine(10);
     19        $File->WriteLine($per);
     20}
     21function SetOnline() {
     22  global $System;
     23        $File = new FileStream();
     24        $File->CreateFile(dirname(__FILE__).'/../../'.$System->Config['Web']['TempFolder'].'ProcessTask');
     25        $File->WriteLine(1);
    2026}
    2127
    2228while(1)
    2329{
     30  //setonline
     31  SetOnline();
    2432  // DBC files
    2533  $DbResult = $System->Database->query('SELECT `ExportTask`.`Export`, `Export`.`Id` AS `ExportId` FROM `ExportTask`'.
Note: See TracChangeset for help on using the changeset viewer.