mirror of
https://github.com/Yetangitu/owncloud-apps.git
synced 2025-10-02 14:49:17 +02:00
Merge pull request #21 from ayamshanov/undefinedMethodAt_feedphp
Undefined method at feed.php
This commit is contained in:
commit
77383b23c7
1 changed files with 2 additions and 2 deletions
|
@ -115,12 +115,12 @@ class Feed
|
|||
. $scheme
|
||||
. "://"
|
||||
. $_SERVER['HTTP_HOST']
|
||||
. \OC_Helper::mimetypeIcon($i->getMimeType())
|
||||
. \OC::$server->getMimeTypeDetector()->mimeTypeIcon($i->getMimeType())
|
||||
);
|
||||
/* Note: relative URL should be enough (RFC7231) but some OPDS clients
|
||||
* (especially those in dedicated book readers) might not support them
|
||||
*
|
||||
* header("Location: " . \OC_Helper::mimetypeIcon($i->getMimeType()));
|
||||
* header("Location: " . \OC::$server->getMimeTypeDetector()->mimeTypeIcon($i->getMimeType()));
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue