Changeset 395 for trunk/export
- Timestamp:
- Mar 17, 2010, 7:51:19 PM (15 years ago)
- Location:
- trunk/export
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/export/export.php
r391 r395 23 23 { 24 24 $DbResult = $this->Database->query('SELECT * FROM `Export` WHERE `Id`='.$this->Id); 25 if($DbResult->num_rows == 0) die('Export '.$this->Id.' neexistuje');25 if($DbResult->num_rows == 0) throw new Exception('Export '.$this->Id.' neexistuje'); 26 26 $this->Export = $DbResult->fetch_assoc(); 27 27 -
trunk/export/process_task.php
r391 r395 40 40 { 41 41 $Export->ExportToDBC(); 42 echo('Kompr imace...'."\n");42 echo('Komprese...'."\n"); 43 43 exec('zip -r -j '.$Export->TempDir.'/CzWoW_DBC.zip '.$Export->TempDir.'dbc/'); 44 44 echo('Hotovo'."\n");
Note:
See TracChangeset
for help on using the changeset viewer.