index.php 395 B

1234567891011121314
  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('social.allow_social_tool') == 'true' &&
  8. api_get_setting('message.allow_message_tool') == 'true'
  9. ) {
  10. header('Location:inbox.php?f=social');
  11. } elseif (api_get_setting('message.allow_message_tool') == 'true') {
  12. header('Location:inbox.php');
  13. }
  14. exit;