]> git.mxchange.org Git - friendica.git/commitdiff
a littdle addition
authorroot <root@diekershoff.homeunix.net>
Wed, 8 Dec 2010 05:53:48 +0000 (06:53 +0100)
committerroot <root@diekershoff.homeunix.net>
Wed, 8 Dec 2010 05:53:48 +0000 (06:53 +0100)
index.php

index cf20d35a29c907fa7bde0959f1e0f80b2c192099..ec7d6e31f2e88e9b91c6ea27749f94a995d5fa57 100644 (file)
--- 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(