index.php 340 B

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