git://git.iain.cx/iain
/
readifood.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Store session variables.
[readifood.git]
/
www
/
index.php
diff --git
a/www/index.php
b/www/index.php
index
4468e05
..
ae8b5a1
100644
(file)
--- a/
www/index.php
+++ b/
www/index.php
@@
-32,6
+32,7
@@
$username = $_SERVER['REMOTE_USER'];
include_once("$lib_root/constants.php");
include_once("$lib_root/functions.php");
$username = $_SERVER['REMOTE_USER'];
include_once("$lib_root/constants.php");
include_once("$lib_root/functions.php");
+ include_once("$lib_root/session.php");
include_once("$lib_root/header.php");
$q = new UserQuery;
$user = $q->findOneByUsername($username);
include_once("$lib_root/header.php");
$q = new UserQuery;
$user = $q->findOneByUsername($username);