Changeset 14 for trunk/www/server.php


Ignore:
Timestamp:
Jun 11, 2009, 10:43:35 PM (15 years ago)
Author:
george
Message:
  • Opraveno: Obnova uživatelského hesla přes email.
  • Upraveno: Překládat emulátor s ladícími informacemi pro GDB.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/server.php

    r12 r14  
    3434    global $System;
    3535   
    36     $this->Database->insert('Task', array('User' => $System->Modules['User']->User['Id'], 'Title' => $Title, 'Time' => 'NOW()', 'CommandList' => implode("\n", $Task)));
     36    $this->Database->insert('Task', array('User' => $System->Modules['User']->User['Id'], 'Title' => $Title, 'Time' => 'NOW()', 'CommandList' => implode("\n", $Task)."\n"));
    3737  }
    3838 
     
    8787  {
    8888    $this->AddTask('Start emulátoru', array(
    89       'screen -A -m -d -S server'.$this->Id.'-realmd emulator/'.$this->Server['Database']['Emulator']['Id'].'/bin/mangos-realmd -c server/'.$this->Id.'/etc/realmd.conf"',
     89      'screen -A -m -d -S server'.$this->Id.'-realmd emulator/'.$this->Server['Database']['Emulator']['Id'].'/bin/mangos-realmd -c server/'.$this->Id.'/etc/realmd.conf',
    9090      'screen -A -m -d -S server'.$this->Id.'-worldd server/'.$this->Id.'/bin/start.sh',
    9191    ));
     
    178178      '#!/bin/sh',
    179179      'while [ 1=1 ] ; do',
    180       'gdb emulator/'.$this->Id.'/bin/mangos-realmd -x mangos.gdb --batch >>server/'.$this->Id.'/log/mangos-worldd.log 2>>server/'.$this->Id.'/log/mangos-worldd.err',
     180      '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',
    181181      'cd www',
    182182      '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.