<?php // Output headers and set error handler require_once dirname(__FILE__) . "/private/debug.php"; Out::writeHeadersJSON(); Debug::setHandlersJSON(); // Process includes after error handler has been set define("LOCALE_MAIN", true); date_default_timezone_set('UTC'); require_once dirname(__FILE__) . "/private/locale.php"; require_once dirname(__FILE__) . "/private/userproxy.class.php"; require_once dirname(__FILE__) . "/private/tools_site.php"; require_once dirname(__FILE__) . "/private/tools_string.php"; require_once dirname(__FILE__) . "/private/settings.class.php"; require_once dirname(__FILE__) . "/private/out.class.php"; include_once "private/message_query_calendar.php"; include_once "private/message_raid_list.php"; include_once "private/message_raid_attend.php"; include_once "private/message_raid_create.php"; include_once "private/message_raid_update.php"; include_once "private/message_raid_delete.php"; include_once "private/message_query_raid.php"; include_once "private/message_query_locations.php"; include_once "private/message_query_newraid.php"; include_once "private/message_query_profile.php"; include_once "private/message_query_settings.php"; include_once "private/message_query_credentials.php"; include_once "private/message_query_config.php"; include_once "private/message_query_user.php"; include_once "private/message_profile_update.php"; include_once "private/message_comment_update.php";