• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisionbf45f5ee779eae075b6dc5d2469ac8e72fad428d (tree)
Time2004-08-02 22:17:36
Authorhenoheno <henoheno>
Commiterhenoheno

Log Message

Added clearstatcache() into is_page(), by reference to nao-pon's PukiWikiMod

Change Summary

Incremental Difference

--- a/lib/func.php
+++ b/lib/func.php
@@ -2,7 +2,7 @@
22 /////////////////////////////////////////////////
33 // PukiWiki - Yet another WikiWikiWeb clone.
44 //
5-// $Id: func.php,v 1.4 2004-08-02 13:11:09 henoheno Exp $
5+// $Id: func.php,v 1.5 2004-08-02 13:17:36 henoheno Exp $
66 //
77
88 // 文字列がInterWikiNameかどうか
@@ -45,6 +45,7 @@ function is_url($str, $only_http = FALSE)
4545 // ページが存在するか
4646 function is_page($page, $reload = FALSE)
4747 {
48+ if ($reload) clearstatcache();
4849 return file_exists(get_filename($page));
4950 }
5051