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:
ca44682
)
BugTrack2/356 Fix spell miss of COUNTER_DIR
author
umorigu
<umorigu@gmail.com>
Thu, 21 Jan 2016 12:58:30 +0000
(21:58 +0900)
committer
umorigu
<umorigu@gmail.com>
Thu, 21 Jan 2016 12:58:30 +0000
(21:58 +0900)
plugin/counter.inc.php
patch
|
blob
|
history
diff --git
a/plugin/counter.inc.php
b/plugin/counter.inc.php
index
db572a1
..
35f1230
100644
(file)
--- a/
plugin/counter.inc.php
+++ b/
plugin/counter.inc.php
@@
-73,7
+73,7
@@
function plugin_counter_get_count($page)
$file = COUNTER_DIR . encode($page) . PLUGIN_COUNTER_SUFFIX;
pkwk_touch_file($file);
$fp = fopen($file, 'r+')
- or die('counter.inc.php: Cannot open COUTER_DIR/' . basename($file));
+ or die('counter.inc.php: Cannot open COU
N
TER_DIR/' . basename($file));
set_file_buffer($fp, 0);
flock($fp, LOCK_EX);
rewind($fp);