Changeset 34 for trunk/www/emulator.php
- Timestamp:
- Jun 15, 2009, 9:09:30 AM (16 years ago)
- File:
- 
      - 1 edited
 
 - 
          
  trunk/www/emulator.php (modified) (4 diffs)
 
Legend:
- Unmodified
- Added
- Removed
- 
      trunk/www/emulator.phpr31 r34 35 35 global $Config; 36 36 37 $this->Lock(); 37 38 $this->Task->Add('Stažení emulátoru', array( 38 39 'mkdir '.$Config['BaseDir'].'emulator/'.$this->Id.'/', … … 51 52 global $Config; 52 53 54 $this->Lock(); 53 55 $this->Task->Add('Překlad emulátoru', array( 54 56 'cd '.$Config['BaseDir'].'emulator/'.$this->Id.'/source', … … 66 68 function ExtractMaps() 67 69 { 70 $this->Lock(); 68 71 $this->Task->Add('Vygenerování souborů map', array( 69 72 'cd wowclient/'.$this->Emulator['Client']['Version'].'/client', … … 74 77 return('Požadavek na vygenerování map zařazen.'); 75 78 } 79 80 81 function Lock() 82 { 83 $this->Database->update('Emulator', 'Id='.$this->Id, array('Lock' => 1)); 84 } 85 86 function UnLock() 87 { 88 $this->Database->update('Emulator', 'Id='.$this->Id, array('Lock' => 0)); 89 } 76 90 } 77 91 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  
