floIcon.php 474 B

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