Changeset 734 for trunk/Modules/Export/ProcessTask.php
- Timestamp:
- Jan 8, 2014, 4:43:28 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Export/ProcessTask.php
r732 r734 21 21 $System->Database->query('UPDATE `ExportTask` SET `Progress`='.$per.' WHERE `Export`='.$Export->Id); 22 22 } 23 function SetOnline() { 24 global $System; 25 $File = new FileStream(); 26 $File->CreateFile(dirname(__FILE__).'/../../'.$System->Config['Web']['TempFolder'].'ProcessTask'); 27 $File->WriteLine(1); 28 } 23 29 24 30 25 function DeleteOldFiles($deldir) … … 102 97 while(1) 103 98 { 104 //setonline105 SetOnline();106 99 // DBC files 107 100 $DbResult = $System->Database->query('SELECT `ExportTask`.`Export`, `Export`.`Id` AS `ExportId` FROM `ExportTask`'.
Note:
See TracChangeset
for help on using the changeset viewer.