From 7bfb140969a44e53467dd15640e7e1d2e7cd39b0 Mon Sep 17 00:00:00 2001 From: stevetruckstuff Date: Wed, 4 Oct 2006 19:12:09 +0000 Subject: [PATCH] Add / before default.css in user themes in case it is not in the path for some reason. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11830 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/page_header.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/page_header.php b/functions/page_header.php index a30fa387..e6a6cf3d 100644 --- a/functions/page_header.php +++ b/functions/page_header.php @@ -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); -- 2.25.1