Add / before default.css in user themes in case it is not in the path for some reason.
authorstevetruckstuff <stevetruckstuff@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 4 Oct 2006 19:12:09 +0000 (19:12 +0000)
committerstevetruckstuff <stevetruckstuff@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 4 Oct 2006 19:12:09 +0000 (19:12 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11830 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/page_header.php

index a30fa38748ed7f17a86aec68998496aaf1a2deb1..e6a6cf3d8c70d34c391ba61ba9ec269a3a95605e 100644 (file)
@@ -87,7 +87,7 @@ function displayHtmlHeader( $title = 'SquirrelMail', $xtra = '', $do_hook = TRUE
 #    var_dump($used_theme);
     if (!empty($used_theme)) {
         if (substr($used_theme, 0, 2) == 'u_') {
-            $aUserStyles[] = substr($used_theme, 2) .'default.css';
+            $aUserStyles[] = substr($used_theme, 2) .'/default.css';
         } elseif (substr($used_theme, 0, 2) == 't_') {
             $aUserStyles[] = SM_PATH . $oTemplate->get_template_file_directory().'css/alternates/'.substr($used_theme, 2);
 #            $aUserStyles[] = substr($used_theme, 2);