From: stevetruckstuff Date: Wed, 4 Oct 2006 19:12:09 +0000 (+0000) Subject: Add / before default.css in user themes in case it is not in the path for some reason. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=7bfb140969a44e53467dd15640e7e1d2e7cd39b0;p=squirrelmail.git 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 --- 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);