mirror of
				https://git.tt-rss.org/fox/tt-rss.git
				synced 2025-11-04 05:41:29 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			502 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			502 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 {
 | 
						|
	public $images = array();
 | 
						|
 | 
						|
        function readICO($file) {
 | 
						|
                $jim = new jimIcon();
 | 
						|
                $icon = new floIconIcon();
 | 
						|
                $icon->img = $jim->fromiconstring(file_get_contents($file));
 | 
						|
                $this->images = array($icon);
 | 
						|
        }
 | 
						|
}
 | 
						|
?>
 |