mirror of
https://github.com/Yetangitu/owncloud-apps.git
synced 2025-10-05 15:32:56 +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
|
. $scheme
|
||||||
. "://"
|
. "://"
|
||||||
. $_SERVER['HTTP_HOST']
|
. $_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
|
/* Note: relative URL should be enough (RFC7231) but some OPDS clients
|
||||||
* (especially those in dedicated book readers) might not support them
|
* (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