<?php // includes POT main file include_once 'classes/OTS.php'; // dont use POT::getInstance() anymore // connects to database POT::connect(POT::DB_MYSQL, array('host' => 'localhost', 'user' => 'wrzasq', 'database' => 'otserv')); // load all resources POT::loadVocations('/home/wrzasq/.otserv/data/vocations.xml'); POT::loadMonsters('/home/wrzasq/.otserv/data/monster/'); POT::loadSpells('/home/wrzasq/.otserv/data/spells/spells.xml'); POT::loadItems('/home/wrzasq/.otserv/data/items/'); POT::loadMap('/home/wrzasq/.otserv/data/world/map.otbm'); /* Invites handling driver. */ class InvitesDriver implements IOTS_GuildAction { } /* Membership requests handling driver. */ class RequestsDriver implements IOTS_GuildAction { } /* Standard binary format cache. */ class FileCache implements IOTS_FileCache { }