Blaine,
I am not a coder, I can somewhat follow along... slowly.
In Gallery/init.php line 88:
/*
* Detect if we're running under SSL and adjust the URL accordingly.
*/
if (stristr($HTTP_SERVER_VARS["HTTPS"], "on"
) {
$gallery->app->photoAlbumURL =
eregi_replace("^http:", "https:", $gallery->app->photoAlbumURL);
$gallery->app->albumDirURL =
eregi_replace("^http:", "https:", $gallery->app->albumDirURL);
} else {
$gallery->app->photoAlbumURL =
eregi_replace("^https:", "http:", $gallery->app->photoAlbumURL);
$gallery->app->albumDirURL =
eregi_replace("^https:", "http:", $gallery->app->albumDirURL);
}
Is there a way to use / reuse this funtion. This seems to work, if it is in fact the reason Gallery stand alone and wrapped in GL works under https, which I can confirm.
Seems this could perhaps be part of the block code?
Scott