[art-web] [download] set gtk2, metacity and icon themes to be x-gnome-theme-pacakage
- From: Thomas Wood <thos src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [art-web] [download] set gtk2, metacity and icon themes to be x-gnome-theme-pacakage
- Date: Mon, 23 Nov 2009 22:51:38 +0000 (UTC)
commit c8908381952672d8494f18d294937bc6c9d0cf4b
Author: Thomas Wood <thos gnome org>
Date: Mon Nov 23 22:50:30 2009 +0000
[download] set gtk2, metacity and icon themes to be x-gnome-theme-pacakage
Set the content type of all gtk2, metacity and icon themes to be
x-gnome-theme-pacakge.
download | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/download b/download
index 6694854..9bf4789 100644
--- a/download
+++ b/download
@@ -36,9 +36,8 @@ else if($section == "themes")
{
$theme_update_result = mysql_query("UPDATE theme SET download_count=download_count+1 WHERE themeID='$download_num'");
- $ext = pathinfo ($filename, PATHINFO_EXTENSION);
-
- if (($category == 'gtk2' || $category == 'metacity' || $category == 'icon') && $ext == 'gz')
+ if ($category == 'gtk2' || $category == 'metacity'
+ || $category == 'icon')
{
header ("Content-type: application/x-gnome-theme-package");
header ("Content-Disposition: attachment; filename=\"$filename\"");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]