Menu

[r13]: / projects_site / index.php  Maximize  Restore  History

Download this file

28 lines (24 with data), 535 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
<?php
#Application name: PhpCollab
#Status page: 0
$checkSession = "false";
include_once('../includes/library.php');
headerFunction("../index.php");
//case session fails
if ($session == "false") {
session_start();
session_destroy();
headerFunction("../general/login.php?session=false");
exit;
//case log out
} else if ($logout == "true") {
session_start();
session_destroy();
headerFunction("../general/login.php?logout=true&login=$login");
exit;
//default case
} else {
headerFunction("../general/login.php");
exit;
}
?>
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.