Fixed a bug: next image was not properly loaded for images at the images/ root
(because of a double slash in URL)
This commit is contained in:
parent
b5f42b9009
commit
d213139338
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ if ($nextImage === '') {
|
|||
$nextImageUrl = '';
|
||||
$nextPageUrl = '';
|
||||
} else {
|
||||
$nextImageUrl = $bizouRootUrl.IMAGES_DIR.dirname($simpleImagePath)."/$nextImage";
|
||||
$nextImageUrl = dirname($bizouRootUrl.IMAGES_DIR.$simpleImagePath)."/$nextImage";
|
||||
$nextPageUrl = dirname($_SERVER["REQUEST_URI"])."/$nextImage";
|
||||
}
|
||||
if ($prevImage === '') $prevPageUrl = '';
|
||||
|
|
Loading…
Reference in a new issue