using base_uri instead of SM_PATH.
authortokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 29 Jul 2005 14:45:08 +0000 (14:45 +0000)
committertokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 29 Jul 2005 14:45:08 +0000 (14:45 +0000)
SM_PATH is file system path and we need URL path in href.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9844 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/page_header.php

index 492d7b1aa5a65760e2b55c61a261a6b7fb57d9e9..5a294420550a218f04f40dfdac2fc1fd174e061d 100644 (file)
@@ -57,7 +57,7 @@ function displayHtmlHeader( $title = 'SquirrelMail', $xtra = '', $do_hook = true
              $base_uri . 'themes/css/'.$custom_css.'">';
     }
 
-    echo '<link rel="stylesheet" type="text/css" href="'. SM_PATH .'templates/default/squirrelmail.css">';
+    echo '<link rel="stylesheet" type="text/css" href="'. $base_uri .'templates/default/squirrelmail.css">';
 
     if ($squirrelmail_language == 'ja_JP') {
         /*