Updated RakLib path

This commit is contained in:
Shoghi Cervantes
2014-09-08 10:11:43 +02:00
parent 0a4e0e3228
commit 317c6788a6
2 changed files with 2 additions and 5 deletions

View File

@ -98,11 +98,8 @@ namespace pocketmine {
$autoloader = new CompatibleClassLoader();
$autoloader->addPath(\pocketmine\PATH . "src");
$autoloader->addPath(\pocketmine\PATH . "src" . DIRECTORY_SEPARATOR . "spl");
$autoloader->addPath(\pocketmine\PATH . "src" . DIRECTORY_SEPARATOR . "raklib");
$autoloader->register(true);
if(!class_exists("raklib\\RakLib", false)){
require(\pocketmine\PATH . "src/raklib/raklib/RakLib.php");
}
RakLib::bootstrap($autoloader);
//Startup code. Do not look at it, it can harm you. Most of them are hacks to fix date-related bugs, or basic functions used after this