summaryrefslogtreecommitdiff
path: root/lib/floIcon.php
blob: 11a102b50690bc54093d25780fd16f865ccdc9e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?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);
        }
}
?>