• R/O
  • HTTP
  • SSH
  • HTTPS

pukiwiki: Commit


Commit MetaInfo

Revision7556fdb59a9b27ba4eb085492d7bb04ec343bf7b (tree)
Time2016-01-27 00:09:32
Authorumorigu <umorigu@gmai...>
Commiterumorigu

Log Message

BugTrack2/376 Keep download counts of archived attached files

Change Summary

Incremental Difference

--- a/plugin/attach.inc.php
+++ b/plugin/attach.inc.php
@@ -2,7 +2,7 @@
22 // PukiWiki - Yet another WikiWikiWeb clone
33 // $Id: attach.inc.php,v 1.92 2011/01/25 15:01:01 henoheno Exp $
44 // Copyright (C)
5-// 2003-2006 PukiWiki Developers Team
5+// 2003-2016 PukiWiki Development Team
66 // 2002-2003 PANDA <panda@arino.jp> http://home.arino.jp/
77 // 2002 Y.MASUI <masui@hisec.co.jp> http://masui.net/pukiwiki/
88 // 2001-2002 Originally written by yu-ji
@@ -459,7 +459,7 @@ class AttachFile
459459 // ファイル情報取得
460460 function getstatus()
461461 {
462- if (! $this->exist) return FALSE;
462+ if (! file_exists($this->logname)) return FALSE;
463463
464464 // ログファイル取得
465465 if (file_exists($this->logname)) {
Show on old repository browser