From d93c055c4ee26701ec7a5df629b5675ef063c5e1 Mon Sep 17 00:00:00 2001 From: arino Date: Wed, 20 Aug 2003 11:38:30 +0900 Subject: [PATCH] =?utf8?q?=E3=81=99=E3=81=93=E3=81=97=E9=AB=98=E9=80=9F?= =?utf8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- plugin/popular.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/popular.inc.php b/plugin/popular.inc.php index df172ea..8d48cc9 100644 --- a/plugin/popular.inc.php +++ b/plugin/popular.inc.php @@ -2,7 +2,7 @@ ///////////////////////////////////////////////// // PukiWiki - Yet another WikiWikiWeb clone. // -// $Id: popular.inc.php,v 1.5 2003/07/11 11:11:17 arino Exp $ +// $Id: popular.inc.php,v 1.6 2003/08/20 02:38:30 arino Exp $ // /* @@ -52,7 +52,7 @@ function plugin_popular_convert() $counters = array(); - foreach (get_existpages(COUNTER_DIR,'.count') as $page) { + foreach (get_existpages(COUNTER_DIR,'.count') as $file=>$page) { if ($except != '' and ereg($except,$page)) { continue; } @@ -60,7 +60,7 @@ function plugin_popular_convert() continue; } - $array = file(COUNTER_DIR.encode($page).'.count'); + $array = file($file); $count = rtrim($array[0]); $date = rtrim($array[1]); $today_count = rtrim($array[2]); -- 2.11.0