git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
some spacing between files
[phorkie.git]
/
www
/
www-header.php
diff --git
a/www/www-header.php
b/www/www-header.php
index 74329ed6d0da1191fa61969fd29cd36ed974bc44..833fb8a56479a461382dba5983cfe6cfc9495551 100644
(file)
--- a/
www/www-header.php
+++ b/
www/www-header.php
@@
-105,6
+105,10
@@
function render($tplname, $vars = array())
$vars['identity'] = $_SESSION['identity'];
$vars['name'] = $_SESSION['name'];
$vars['email'] = $_SESSION['email'];
$vars['identity'] = $_SESSION['identity'];
$vars['name'] = $_SESSION['name'];
$vars['email'] = $_SESSION['email'];
+ } else if (isset($_COOKIE['lastopenid'])
+ && !isset($_COOKIE['tried-autologin'])
+ ) {
+ $vars['autologin'] = true;
}
$vars['db'] = new Database();
if (!isset($vars['htmlhelper'])) {
}
$vars['db'] = new Database();
if (!isset($vars['htmlhelper'])) {