BlackStonedLover / fluxcp

Automatically exported from code.google.com/p/fluxcp
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Stylesheet reference is not relative to the current host #28

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Please provide any additional information below.

themes/default/header.php: line 11: the <link> for the stylesheet reference
should be changed from this:

http://localhost<?php echo $this->themePath('css/flux.css') ?>

to this:

<?php echo $this->themePath('css/flux.css') ?>

-- because if the site isn't bound to the hostname 'localhost', the
resource 404's.  Note that the javascript references DON'T have the
absolute URL, just an absolute pathname, so it's only the CSS that returns
a 404.

Original issue reported on code.google.com by neve...@gmail.com on 24 Sep 2009 at 11:09

GoogleCodeExporter commented 8 years ago
That must be some sort of customization you made.
I don't see that anywhere in the source file; See here:
http://code.google.com/p/fluxcp/source/browse/branches/fluxcp-
1.0/themes/default/header.php

Original comment by Paradox924X on 21 Oct 2009 at 5:32