a littdle addition

This commit is contained in:
root 2010-12-08 06:53:48 +01:00
parent dd185daf90
commit af48dbec7f

View File

@ -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(