diff --git a/index.php b/index.php index cf20d35a29..ec7d6e31f2 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(