[xoops-cvslog 3529] CVS update: xoops2jp/html/modules/legacyRender/admin/actions

Back to archive index

Minahito minah****@users*****
2006年 7月 11日 (火) 12:04:31 JST


Index: xoops2jp/html/modules/legacyRender/admin/actions/TplfileDownloadAction.class.php
diff -u xoops2jp/html/modules/legacyRender/admin/actions/TplfileDownloadAction.class.php:1.1.2.3 xoops2jp/html/modules/legacyRender/admin/actions/TplfileDownloadAction.class.php:1.1.2.4
--- xoops2jp/html/modules/legacyRender/admin/actions/TplfileDownloadAction.class.php:1.1.2.3	Mon Jul 10 20:00:12 2006
+++ xoops2jp/html/modules/legacyRender/admin/actions/TplfileDownloadAction.class.php	Tue Jul 11 12:04:31 2006
@@ -1,7 +1,7 @@
 <?php
 /**
  * @package legacyRender
- * @version $Id: TplfileDownloadAction.class.php,v 1.1.2.3 2006/07/10 11:00:12 minahito Exp $
+ * @version $Id: TplfileDownloadAction.class.php,v 1.1.2.4 2006/07/11 03:04:31 minahito Exp $
  */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
@@ -36,9 +36,9 @@
 		header('Content-Type: application/force-download');
 		
 		if (preg_match("/MSIE 5.5/", $_SERVER['HTTP_USER_AGENT'])) {
-			header('Content-Disposition: filename=' . $this->mObject->getVar('tpl_file'));
+			header('Content-Disposition: filename=' . $this->mObject->getShow('tpl_file'));
 		} else {
-			header('Content-Disposition: attachment; filename=' . $this->mObject->getVar('tpl_file'));
+			header('Content-Disposition: attachment; filename=' . $this->mObject->getShow('tpl_file'));
 		}
 
 		header('Content-length: ' . strlen($source));


xoops-cvslog メーリングリストの案内
Back to archive index