Skip to content

Commit

Permalink
Fixed CSS link not being based on Mantis' relative path.
Browse files Browse the repository at this point in the history
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@4929 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
amyreese committed Jan 28, 2008
1 parent ab717b1 commit 59db4f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config_defaults_inc.php
Expand Up @@ -1455,7 +1455,7 @@
$g_bottom_include_page = '%absolute_path%';
$g_top_include_page = '%absolute_path%';
# CSS file
$g_css_include_file = '%path%css/default.css';
$g_css_include_file = 'css/default.css';
# meta tags
$g_meta_include_file = '%absolute_path%meta_inc.php';

Expand Down
2 changes: 1 addition & 1 deletion core/html_api.php
Expand Up @@ -232,7 +232,7 @@ function html_title( $p_page_title = null ) {
# (5) Print the link to include the css file
function html_css() {
$t_css_url = config_get( 'css_include_file' );
echo "\t", '<link rel="stylesheet" type="text/css" href="', $t_css_url, '" />', "\n";
echo "\t", '<link rel="stylesheet" type="text/css" href="', helper_mantis_url( $t_css_url ), '" />', "\n";

# fix for NS 4.x css
echo "\t", '<script type="text/javascript" language="JavaScript"><!--', "\n";
Expand Down

0 comments on commit 59db4f9

Please sign in to comment.