• 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

Revisiónec2d8b95053c6385be5f0c2fe76f838fc35238c2 (tree)
Tiempo2004-08-02 22:17:36
Autorhenoheno <henoheno>
Commiterhenoheno

Log Message

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

Cambiar Resumen

Diferencia incremental

--- 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