OSDN Git Service
(root)
/
pukiwiki
/
pukiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d27616
)
Fix. Dont use get_source() to check only the 1st line of the page. Cleanup $non_list
author
henoheno
<henoheno>
Mon, 10 Jan 2005 04:18:46 +0000
(13:18 +0900)
committer
henoheno
<henoheno>
Mon, 10 Jan 2005 04:18:46 +0000
(13:18 +0900)
lib/func.php
patch
|
blob
|
history
diff --git
a/lib/func.php
b/lib/func.php
index
275cfea
..
8c167d6
100644
(file)
--- a/
lib/func.php
+++ b/
lib/func.php
@@
-1,6
+1,6
@@
<?php
// PukiWiki - Yet another WikiWikiWeb clone.
-// $Id: func.php,v 1.2
5 2005/01/10 03:25:3
6 henoheno Exp $
+// $Id: func.php,v 1.2
6 2005/01/10 04:18:4
6 henoheno Exp $
//
// General functions
@@
-77,6
+77,7
@@
function is_freeze($page, $clearcache = FALSE)
} else {
$fp = fopen(get_filename($page), 'rb');
flock($fp, LOCK_SH);
+ rewind($fp);
$buffer = fgets($fp, 8);
flock($fp, LOCK_UN);
fclose($fp);