Changeset 18
- Timestamp:
- Jun 12, 2009, 9:48:48 AM (15 years ago)
- Location:
- trunk/www
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/mangos_debug.php
r17 r18 98 98 $ServerId = $_SERVER['argv'][1]; 99 99 $LogDir = '../server/'.$ServerId.'/log/'; 100 $MangosConfFile = $LogDir.'mangosd.conf';100 $MangosConfFile = '../server/'.$ServerId.'/etc/mangosd.conf'; 101 101 $StdOutLogFile = $LogDir.'mangos-worldd.log'; 102 102 $ErrOutLogFile = $LogDir.'mangos-worldd.err'; -
trunk/www/page.php
r14 r18 30 30 $DbResult = $this->Database->query('SELECT COUNT(*) FROM Server WHERE User='.$this->System->Modules['User']->User['Id']); 31 31 $DbRow = $DbResult->fetch_row(); 32 if($DbRow[0] > 0) $Output .= ' <a href="?Action=ServerShow">Vlastní server</a>'; 33 else $Output .= ' <a href="?Action=ServerAdd">Vytvořit vlastní server</a>'; 32 if($DbRow[0] > 0) 33 { 34 $Output .= ' <a href="?Action=ServerShow">Vlastní server</a>'; 35 $Output .= ' <a href="?Action=ServerDebug">Ladící záznamy</a>'; 36 } else $Output .= ' <a href="?Action=ServerAdd">Vytvořit vlastní server</a>'; 34 37 $Output .= ' <a href="'.$this->System->Config['Web']['RootFolder'].'/?Action=UserOptions">Nastavení</a>'; 35 38 if($this->System->Modules['User']->User['Role'] == USER_ROLE_ADMINISTRATOR) -
trunk/www/server.php
r17 r18 176 176 '#!/bin/sh', 177 177 'while [ 1=1 ] ; do', 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',178 'gdb emulator/'.$this->Id.'/bin/mangos-worldd -x server/'.$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',
Note:
See TracChangeset
for help on using the changeset viewer.