Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Allow periods in subPrefix

  • Loading branch information...
commit 5a18f3d0029e286ab14d501c477df71aa66d595b 1 parent 50dd312
Michael Ang mangtronix authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  BookReaderIA/datanode/BookReaderMeta.inc.php
2  BookReaderIA/datanode/BookReaderMeta.inc.php
View
@@ -397,7 +397,7 @@ function previewURL($page, $metadata) {
function imageFilePath($leafNum, $subPrefix, $format) {
$pathParts = pathinfo($subPrefix);
- $almostIdentifier = $pathParts['filename'];
+ $almostIdentifier = $pathParts['basename'];
return sprintf("%s_%s/%s_%04d.%s", $almostIdentifier, $format, $almostIdentifier, intval($leafNum), $format);
}
Please sign in to comment.
Something went wrong with that request. Please try again.