ircbot/Main.php

14 lines
407 B
PHP

<?php
error_reporting(E_ALL);
require_once('SocketFramework' . DIRECTORY_SEPARATOR . 'Bootstrap.php');
$classLoader->addClassPathMapping('JPT\IrcClient', 'IrcClient' . \DIRECTORY_SEPARATOR . 'Classes');
try {
require_once('Testcode' . DIRECTORY_SEPARATOR . 'Client' . DIRECTORY_SEPARATOR . 'ClientManagerTest.php');
}
catch(Exception $e) {
echo PHP_EOL.PHP_EOL."Caught Exception: " . $e . PHP_EOL;
}
?>