projects
/
PHP-P10.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added ModCMD.class.php with simple binding principle
[PHP-P10.git]
/
main.php
diff --git
a/main.php
b/main.php
index a217c69ac107432074582bd6cde4b50004584067..95e82b258bbb20ac4b9a9e7601976955737c814e 100644
(file)
--- a/
main.php
+++ b/
main.php
@@
-33,6
+33,8
@@
$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();
while(true) {