X-Git-Url: http://git.pk910.de/?p=PHP-P10.git;a=blobdiff_plain;f=main.php;h=5dcf7d93b9dcd0843925f9ccfb6237bd7dcdda32;hp=42fa0cdfb917e663276b89f590419ba02efabd02;hb=29c9dfc2f073856d051daf900c1d7818dde648fe;hpb=7b82a138057d641a0ce2205b611fba2079f7500e diff --git a/main.php b/main.php index 42fa0cd..5dcf7d9 100644 --- a/main.php +++ b/main.php @@ -26,11 +26,15 @@ * */ require_once("Uplink/Uplink.class.php"); +require_once("ModCMD/ModCMD.class.php"); //basicly here is nothing, yet :D $uplink = new Uplink(); -$uplink->setUplinkHost("localhost", 4402); -$uplink->setUplinkServer(5, "php.local.TestNet", "very_weak_password", "Test Server"); +$uplink->setUplinkHost("192.168.2.103", 4401); +$uplink->setUplinkServer(5, "PHP.TestNet", "very_weak_password", "Test Server"); +$uplink->setValidateServer("test.localhost", "very_weak_password"); + +$uplink->setEventHandler(ModCMD::getEventHandler()); $uplink->initialize();