Changeset 74 for trunk/www/Application/Model/Shell.php
- Timestamp:
- Aug 23, 2009, 9:38:51 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/Application/Model/Shell.php
r69 r74 21 21 } 22 22 23 function Show()24 {25 global $System;26 27 $Output = '';28 if(count($_SERVER['argv']) > 1)29 {30 $Command = $_SERVER['argv'][1];31 if($Command == 'ServerProcessLog')32 {33 if((count($_SERVER['argv']) > 2) and is_numeric($_SERVER['argv'][2]))34 {35 $MangosDebug = new MangosDebug($this->Database);36 $Output = $MangosDebug->ProcessLog($_SERVER['argv'][2]);37 } else $Output = 'Jako druhý parameter je nutno zadat Id serveru.';38 } else39 if($Command == 'ServerLock')40 {41 if((count($_SERVER['argv']) > 2) and is_numeric($_SERVER['argv'][2]))42 {43 $Server = new Server($this->Database, $_SERVER['argv'][2]);44 $Server->Lock();45 } else $Output = 'Jako druhý parameter je nutno zadat Id serveru.';46 } else47 23 if($Command == 'ServerUnLock') 48 24 {
Note:
See TracChangeset
for help on using the changeset viewer.