소스 검색

Add / before default.css in user themes in case it is not in the path for some reason.

stevetruckstuff 19 년 전
부모
커밋
fdf2e1dba5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      functions/page_header.php

+ 1 - 1
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);