forked from phpcollab/phpcollab
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
35 lines (31 loc) · 662 Bytes
/
index.php
File metadata and controls
35 lines (31 loc) · 662 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
#Application name: PhpCollab
#Status page: 0
#Path by root: index.php
/**
* Modification Log for 2.5
*
* 2008-11-20 - Added setup detection (dab - norman77)
*
*/
/* Do Setup Check */
if (!file_exists("includes/settings.php")) {
header('Location: installation/setup.php');
exit;
}
/** END **/
$checkSession = "false";
$indexRedirect = "true";
include_once('includes/library.php');
//case session fails
global $session;
if ($session == "false")
{
headerFunction("general/login.php?session=false&".session_name()."=".session_id());
}
//default case
else
{
headerFunction("general/login.php?".session_name()."=".session_id());
}
?>