Changeset 51
- Timestamp:
- Jun 20, 2009, 4:51:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/shell.php
r42 r51 25 25 function Show() 26 26 { 27 global $System; 28 27 29 $Output = ''; 28 30 if(count($_SERVER['argv']) > 1) … … 96 98 { 97 99 $Server = new Server($this->Database, $DbRow['Id']); 100 $System->Modules['User']->User['Id'] = $Server->Server['User']; 98 101 $Server->Start(); 99 102 } … … 102 105 { 103 106 $Backup = new Backup($this->Database, 0); 104 $DbResult = $this->Database->select('Server', 'Id ');107 $DbResult = $this->Database->select('Server', 'Id, User'); 105 108 while($DbRow = $DbResult->fetch_assoc()) 106 109 { 110 $System->Modules['User']->User['Id'] = $DbRow['User']; 107 111 $Backup->Create($DbRow['Id']); 108 112 }
Note:
See TracChangeset
for help on using the changeset viewer.