From 65a420b22755f774dc2422f7fdf3709e01289945 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Sat, 18 Sep 2010 21:11:18 -0700 Subject: theme cleanup --- include/auth.php | 2 ++ include/nav.php | 1 + 2 files changed, 3 insertions(+) (limited to 'include') diff --git a/include/auth.php b/include/auth.php index 78e2bb8e0..b856379f1 100644 --- a/include/auth.php +++ b/include/auth.php @@ -42,6 +42,8 @@ else { unset($_SESSION['visitor_id']); unset($_SESSION['administrator']); unset($_SESSION['cid']); + unset($_SESSION['theme']); + $encrypted = hash('whirlpool',trim($_POST['password'])); if((x($_POST,'auth-params')) && $_POST['auth-params'] == 'login') { diff --git a/include/nav.php b/include/nav.php index 4833ed7db..94fbf36bb 100644 --- a/include/nav.php +++ b/include/nav.php @@ -40,3 +40,4 @@ if(x($_SESSION['uid'])) { } $a->page['nav'] .= "\r\n\r\n"; + $a->page['nav'] .= ''; -- cgit v1.2.3