Changeset 17 for trunk/www/server.php
- Timestamp:
- Jun 12, 2009, 9:23:36 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/server.php
r16 r17 17 17 { 18 18 $this->Database = $Database; 19 $this->Task = new Task( &$Database);19 $this->Task = new Task($Database); 20 20 $this->Id = $Id; 21 21 $DbResult = $this->Database->query('SELECT * FROM `Server` WHERE `Id`='.$Id); … … 162 162 $Content = array 163 163 ( 164 'run -c server/'.$this->Id.'/etc/ realmd.conf',164 'run -c server/'.$this->Id.'/etc/mangosd.conf', 165 165 'info thread', 166 166 ); … … 176 176 '#!/bin/sh', 177 177 'while [ 1=1 ] ; do', 178 'gdb emulator/'.$this->Id.'/bin/mangos-worldd -x mangos.gdb --batch >>server/'.$this->Id.'/log/mangos-worldd.log 2>>server/'.$this->Id.'/log/mangos-worldd.err',178 'gdb emulator/'.$this->Id.'/bin/mangos-worldd -x emulator/'.$this->Id.'/bin/mangos.gdb --batch >>server/'.$this->Id.'/log/mangos-worldd.log 2>>server/'.$this->Id.'/log/mangos-worldd.err', 179 179 'cd www', 180 180 'php mangos_debug_process.php '.$this->Id.' >>server/'.$this->Id.'/log/mangos_debug.log 2>>server/'.$this->Id.'/log/mangos_debug.err', … … 217 217 $Config->ParameterList['DataDir'] = 'wowclient/'.$this->Server['Database']['Emulator']['ClientVersion']['Version']; 218 218 $Config->ParameterList['LogsDir'] = 'server/'.$this->Id.'/log'; 219 $Config->ParameterList['LogLevel'] = 1; 220 $Config->ParameterList['LogSQL'] = 0; 219 221 $ServerTypes = array(0 => 0, 1 => 1, 2 => 6, 3 => 8); 220 222 $Config->ParameterList['GameType'] = $ServerTypes[$this->Server['Type']];
Note:
See TracChangeset
for help on using the changeset viewer.