From 6ccf524f48df49ed97a2c0c051f0276a377b9f48 Mon Sep 17 00:00:00 2001 From: cash Date: Fri, 14 Jan 2011 02:14:20 +0000 Subject: finished discussion rewrite to use new html/css git-svn-id: http://code.elgg.org/elgg/trunk@7881 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/graphics/icon.php | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 mod/groups/graphics/icon.php (limited to 'mod/groups/graphics') diff --git a/mod/groups/graphics/icon.php b/mod/groups/graphics/icon.php deleted file mode 100644 index a6ceaf3b5..000000000 --- a/mod/groups/graphics/icon.php +++ /dev/null @@ -1,41 +0,0 @@ -owner_guid = $group->owner_guid; - $filehandler->setFilename("groups/" . $group->guid . $size . ".jpg"); - - $success = false; - if ($filehandler->open("read")) { - if ($contents = $filehandler->read($filehandler->size())) { - $success = true; - } - } - - if (!$success) { - $contents = @file_get_contents($CONFIG->pluginspath . "groups/graphics/default{$size}.jpg"); - } - - header("Content-type: image/jpeg"); - header('Expires: ' . date('r',time() + 864000)); - header("Pragma: public"); - header("Cache-Control: public"); - header("Content-Length: " . strlen($contents)); - echo $contents; -?> \ No newline at end of file -- cgit v1.2.3