]>
Commit | Line | Data |
---|---|---|
d97efc99 | 1 | <?php |
ba246306 AD |
2 | // Compatibility shim for hooking up jimIcon to Tiny Tiny RSS. |
3 | ||
4 | require_once "jimIcon.php"; | |
5 | ||
6 | class floIconIcon { | |
7 | function getImageResource() { | |
8 | return $this->img; | |
9 | } | |
10 | } | |
11 | ||
12 | class floIcon { | |
13 | function readICO($file) { | |
14 | $jim = new jimIcon(); | |
15 | $icon = new floIconIcon(); | |
16 | $icon->img = $jim->fromiconstring(file_get_contents($file)); | |
17 | $this->images = array($icon); | |
18 | } | |
19 | } | |
20 | ?> |