Simplify a little getLink
This commit is contained in:
parent
133b6dc9d6
commit
e67e620ba3
2 changed files with 8 additions and 2 deletions
3
data.php
3
data.php
|
@ -150,8 +150,7 @@ class Data extends Base {
|
|||
|
||||
$urlParam = addURLParameter("", "data", $idData);
|
||||
|
||||
if (preg_match ('/^\//', Base::getDbDirectory ()) || // Linux /
|
||||
preg_match ('/^\w\:/', Base::getDbDirectory ()) || // Windows X:
|
||||
if (Base::useAbsolutePath () ||
|
||||
$rel == Link::OPDS_THUMBNAIL_TYPE ||
|
||||
($type == "epub" && $config['cops_update_epub-metadata']))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue