projects
/
PHP-P10.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added saxdb & continued BotLoader
[PHP-P10.git]
/
main.php
diff --git
a/main.php
b/main.php
index 95e82b258bbb20ac4b9a9e7601976955737c814e..7cfe0fc1c2cadc79a0447359fe9113a0887ea1e1 100644
(file)
--- a/
main.php
+++ b/
main.php
@@
-26,6
+26,8
@@
*
*/
require_once("Uplink/Uplink.class.php");
*
*/
require_once("Uplink/Uplink.class.php");
+require_once("ModCMD/ModCMD.class.php");
+require_once("BotLoader/BotLoader.class.php");
//basicly here is nothing, yet :D
$uplink = new Uplink();
//basicly here is nothing, yet :D
$uplink = new Uplink();
@@
-37,6
+39,9
@@
$uplink->setEventHandler(ModCMD::getEventHandler());
$uplink->initialize();
$uplink->initialize();
+$botloader = new BotLoader($uplink);
+$botloader->loadBots();
+
while(true) {
$uplink->loop();
}
while(true) {
$uplink->loop();
}