mirror of
https://github.com/YunoHost-Apps/ttrss_ynh.git
synced 2024-10-01 13:34:46 +02:00
21 lines
474 B
PHP
21 lines
474 B
PHP
|
<?php
|
||
|
// 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);
|
||
|
}
|
||
|
}
|
||
|
?>
|