Page 1 of 1

Theme::css vs. HTML_PATH_THEME_CSS

Posted: Thu Jun 22, 2017 3:24 pm
by Torsten_Kelsch
I found out that the following code outputs http:// etc., even if the website runs on https:

Code: Select all

Theme::css('style.css');
The result is like:

Code: Select all

<link rel="stylesheet" type="text/css" href="http://www.example.com/bludit/bl-themes/example/css/style.css">
This code only outputs a relative path, so that there are no problems with the protocol:

Code: Select all

<link rel="stylesheet" href="<?php echo HTML_PATH_THEME_CSS ?>style.css">
The result is like:

Code: Select all

<link rel="stylesheet" href="/bludit/bl-themes/example/css/style.css">

Re: Theme::css vs. HTML_PATH_THEME_CSS

Posted: Thu Jun 22, 2017 3:32 pm
by Edi
Thank you for the remarks!

Can you please open an issue ticket for this at

https://github.com/dignajar/bludit

Re: Theme::css vs. HTML_PATH_THEME_CSS

Posted: Wed Jun 28, 2017 1:43 pm
by Torsten_Kelsch
Done.