Changeset 708
- Timestamp:
- Jan 5, 2014, 2:06:13 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Export/ProcessTask.php
r703 r708 17 17 $File = new FileStream(); 18 18 $File->CreateFile($Export->TempDir.'progress'); 19 $File->WriteLine(10); 19 $File->WriteLine($per); 20 } 21 function SetOnline() { 22 global $System; 23 $File = new FileStream(); 24 $File->CreateFile(dirname(__FILE__).'/../../'.$System->Config['Web']['TempFolder'].'ProcessTask'); 25 $File->WriteLine(1); 20 26 } 21 27 22 28 while(1) 23 29 { 30 //setonline 31 SetOnline(); 24 32 // DBC files 25 33 $DbResult = $System->Database->query('SELECT `ExportTask`.`Export`, `Export`.`Id` AS `ExportId` FROM `ExportTask`'. -
trunk/Modules/Import/cmd.php
r707 r708 72 72 if (array_key_exists('version', $_GET)) 73 73 $Output .= '<br />'. 74 'aktuálně nastavená importovávaná verze: '.$_GET['version'].' ';74 'aktuálně nastavená importovávaná verze: '.$_GET['version'].'<br />'; 75 75 else 76 76 $Output .= '<br />'. 77 'aktuálně nastavená importovávaná verze: '.$Config['Web']['GameVersion'].' ';77 'aktuálně nastavená importovávaná verze: '.$Config['Web']['GameVersion'].'<br />'; 78 78 79 79 -
trunk/admin/index.php
r706 r708 11 11 global $System, $Config; 12 12 13 $Output = '<h3>Volby pro správu</h3>'. 13 14 $Output = '<h3>Volby pro správu</h3>'; 15 16 $fileprocesstask = dirname(__FILE__).'/../'.$System->Config['Web']['TempFolder'].'ProcessTask'; 17 if (file_exists($fileprocesstask)) { 18 if (filemtime($fileprocesstask) > (time()-1-$System->Config['ExportTaskProcessPeriod'])) { 19 $Output .= 'ProcessTask je online<br />'; 20 } else $Output .= '<b>ProcessTask je offline f</b><br />'; 21 } else $Output .= '<b>ProcessTask je offline</b><br />'; 22 23 $Output .= '<br />'. 14 24 '<a href="https://'.$Config['Web']['Host'].'/phpmyadmin/">Správa databáze</a><br/>'. 15 25 '<small>Rozhraní phpMyAdmin pro přímou správu databáze</small><br/><br/>'. -
trunk/includes/Version.php
r707 r708 6 6 // and system will need database update. 7 7 8 $Revision = 70 7; // Subversion revision8 $Revision = 708; // Subversion revision 9 9 $DatabaseRevision = 695; // Database structure revision 10 10 $ReleaseTime = '2014-01-04'; -
trunk/includes/system.php
r691 r708 408 408 $Output .= '<br />'; 409 409 $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 } 410 419 $Output .= '</td><td id="border-left"></td><td class="content">'; 411 420 return($Output);
Note:
See TracChangeset
for help on using the changeset viewer.