projects
/
bizou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5f42b9
)
Fixed a bug: next image was not properly loaded for images at the images/ root
author
Marc MAURICE
<dooblempub@positon.org>
Mon, 13 Jun 2011 13:56:41 +0000
(15:56 +0200)
committer
Marc MAURICE
<dooblempub@positon.org>
Mon, 13 Jun 2011 13:56:41 +0000
(15:56 +0200)
(because of a double slash in URL)
plugins/viewer/view.php
patch
|
blob
|
history
diff --git
a/plugins/viewer/view.php
b/plugins/viewer/view.php
index
ae5e686
..
a1af936
100644
(file)
--- a/
plugins/viewer/view.php
+++ b/
plugins/viewer/view.php
@@
-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 = '';