mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 01:25:56 +00:00
replace floIcon with jimIcon from https://github.com/jimparis/jimIcon
This commit is contained in:
20
lib/floIcon.php
Normal file
20
lib/floIcon.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?
|
||||
// Compatibility shim for hooking up jimIcon to Tiny Tiny RSS.
|
||||
|
||||
require_once "jimIcon.php";
|
||||
|
||||
class floIconIcon {
|
||||
function getImageResource() {
|
||||
return $this->img;
|
||||
}
|
||||
}
|
||||
|
||||
class floIcon {
|
||||
function readICO($file) {
|
||||
$jim = new jimIcon();
|
||||
$icon = new floIconIcon();
|
||||
$icon->img = $jim->fromiconstring(file_get_contents($file));
|
||||
$this->images = array($icon);
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user