git.cweiske.de
/
phorkie.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ADD: Commit as logged in user
[phorkie.git]
/
www
/
secure.php
1
<?php
2
/**
3
* Protect page
4
*/
5
namespace phorkie;
6
require_once 'www-header.php';
7
$_SESSION['REQUEST_URI'] = $_SERVER['REQUEST_URI'];
8
if (!isset($_SESSION['identity'])) {
9
header("Location: /login");
10
exit;
11
}
12
?>