From ba2463069fc97da3f9b87d549242a44ab91fa1ea Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 26 Jun 2013 08:37:07 +0400 Subject: replace floIcon with jimIcon from https://github.com/jimparis/jimIcon --- lib/floIcon.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 lib/floIcon.php (limited to 'lib/floIcon.php') diff --git a/lib/floIcon.php b/lib/floIcon.php new file mode 100644 index 000000000..10202862d --- /dev/null +++ b/lib/floIcon.php @@ -0,0 +1,20 @@ +img; + } +} + +class floIcon { + function readICO($file) { + $jim = new jimIcon(); + $icon = new floIconIcon(); + $icon->img = $jim->fromiconstring(file_get_contents($file)); + $this->images = array($icon); + } +} +?> -- cgit v1.2.3 From d97efc9967d0823aa6332aa20c45c99621493626 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 26 Jun 2013 13:36:06 +0400 Subject: floicon wrapper: fix short tag --- lib/floIcon.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/floIcon.php') diff --git a/lib/floIcon.php b/lib/floIcon.php index 10202862d..11a102b50 100644 --- a/lib/floIcon.php +++ b/lib/floIcon.php @@ -1,4 +1,4 @@ -