Ignore:
Timestamp:
Feb 5, 2016, 11:47:36 PM (9 years ago)
Author:
chronos
Message:
  • Fixed: Do not allow to regenerate multipletimes already running export task.
  • Modified: Progress reimplemented as Page class extension with virtual URL to avoid execution of any scripts with path to Modules subdirectory.
  • Added: Show estimated time to complete export task.
File:
1 edited

Legend:

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

    r862 r864  
    828828  }
    829829}
     830
     831class PageExportProgress extends Page
     832{
     833  function __construct($System)
     834  {
     835    parent::__construct($System);
     836    $this->RawPage = true;
     837  }
     838
     839  function Show()
     840  {
     841    if(array_key_exists('i', $_GET))
     842      $Output = $this->System->ModuleManager->Modules['Export']->GetTaskProgress($_GET['i'] * 1);
     843      else $Output = 'Missing task id';
     844    return($Output);
     845  }
     846}
Note: See TracChangeset for help on using the changeset viewer.