From af48dbec7f87a75a66f79887b6d2419b661e263d Mon Sep 17 00:00:00 2001 From: root Date: Wed, 8 Dec 2010 06:53:48 +0100 Subject: a littdle addition --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index cf20d35a2..ec7d6e31f 100644 --- a/index.php +++ b/index.php @@ -111,7 +111,7 @@ if($a->module != 'install') // make sure the desired theme exists, though if the default theme doesn't exist we're stuffed. -if((x($_SESSION,'theme')) && (! file_exists('/view/theme/' . $_SESSION['theme'] . '/style.css'))) +if((x($_SESSION,'theme')) && (! file_exists('view/theme/' . $_SESSION['theme'] . '/style.css'))) unset($_SESSION['theme']); $a->page['htmlhead'] = replace_macros($a->page['htmlhead'], array( -- cgit v1.2.3