* Change in doku.php. From Line 11 add the following: if (isset($_COOKIE['HTTP_USER_AGENT'])){ if ($_COOKIE['HTTP_USER_AGENT'] != md5($_SERVER['HTTP_USER_AGENT'])){ logout(); exit; } } if(!isset($_COOKIE['userid'])){ header("Location: https://websem.psychstat.org/login.php"); exit(); } $_SERVER['REMOTE_USER'] = $_COOKIE['myself']; $INFO['userinfo']['name'] = $_COOKIE['myself']; global $USERNAME; $USERNAME = $_COOKIE['myself']; * In file changelog.php Line 68 & 125 $user = $_COOKIE['myself']; * Change the header

', 'accesskey="h" title="[H]"' ); ?>

    Logged in as '.$_COOKIE['myself'].''; } tpl_action('admin', 1, 'li'); tpl_action('profile', 1, 'li'); if ($_COOKIE['myself']=='johnny') { tpl_action('login', 1, 'li'); } ?>


* For discussion - action Line 748