Menu

[r7]: / index.php  Maximize  Restore  History

Download this file

35 lines (31 with data), 670 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")) {
headerFunction("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());
}
?>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.