index.php 364 B

123456789101112
  1. <?php
  2. /* For licensing terms, see /license.txt */
  3. /**
  4. * @package chamilo.messages
  5. */
  6. require_once '../inc/global.inc.php';
  7. if (api_get_setting('allow_social_tool')=='true' && api_get_setting('allow_message_tool')=='true') {
  8. header('Location:inbox.php?f=social');
  9. } elseif ( api_get_setting('allow_message_tool')=='true') {
  10. header('Location:inbox.php');
  11. }
  12. exit;