fix HTML catalog (oops)
This commit is contained in:
parent
3c7d0f7308
commit
b2f34f428f
1
book.php
1
book.php
|
@ -201,6 +201,7 @@ from data where book = ?');
|
||||||
if (array_key_exists ($ext, self::$mimetypes))
|
if (array_key_exists ($ext, self::$mimetypes))
|
||||||
{
|
{
|
||||||
array_push ($linkArray, $this->getLink ($ext, self::$mimetypes [$ext], Link::OPDS_ACQUISITION_TYPE, $post->name . "." . strtolower ($post->format), "Download"));
|
array_push ($linkArray, $this->getLink ($ext, self::$mimetypes [$ext], Link::OPDS_ACQUISITION_TYPE, $post->name . "." . strtolower ($post->format), "Download"));
|
||||||
|
$this->format [$ext] = $post->name . "." . strtolower ($post->format);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue