Summary:
doesn't work with ssl without generating warnings
Detailed Description:
Hello,
I've got a site where the http & https pages are mixed throughout. On the https
pages the url you construct for the template stylesheets is hardcoded to use
$config['root_url'], which makes many browsers complain.
I've temporarily worked around this by removing the root_url value entirely and
allow the browser to work it out. For example, from action.showrandom.php line
205-211:
// check if a css file exists and echo
if ( file_exists("modules/Gallery/templates/css/" . $template . ".css") )
{
//removed ' . $config['root_url'] . '
$template_metadata .= '<link rel="stylesheet"
href="/modules/Gallery/templates/css/' . $template . '.css" type="text/css"
media="screen" />
';
}
Maybe you can consider removing these hardcoded values where they appear and
allowing your fantastic module to work more easily with ssl enabled sites?
Many thanks,
Mark.