<?php
/* For licensing terms, see /license.txt */
/**
*	@package chamilo.messages
*/
require_once __DIR__.'/../inc/global.inc.php';
if (api_get_setting('allow_social_tool') == 'true' && api_get_setting('allow_message_tool') == 'true') {
	header('Location:inbox.php?f=social');
} elseif (api_get_setting('allow_message_tool') == 'true') {
	header('Location:inbox.php');
}
exit;