Sponsorenverwaltung - Team StarCraft e.V.
 All Data Structures Files Functions Variables
index.php
Go to the documentation of this file.
1 <?php
2  /**
3  * @file index.php
4  *
5  * @brief Index.php
6  *
7  * @details
8  * Does default redirections if the user tries to access a directory.
9  *
10  * This file depends on inc/common.php
11  *
12  * @copyright 2013, Team StarCraft e.V.
13  * @version 1.0.0
14  * @author Daniel Seichter
15  * @date 02.07.2013
16  */
17 
18  /// @cond MAINPART
19  // include
20  include("inc/common.php");
21 
22  if(!isUserLoggedIn()) {
23  header("Location: login.php");
24  die();
25  } else {
26  header("Location: ".PAGE_AFTER_LOGIN);
27  }
28  /// @endcond
29 ?>