/////////////////////////////////////////////////
// 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 $
//
/*
$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;
}
continue;
}
- $array = file(COUNTER_DIR.encode($page).'.count');
+ $array = file($file);
$count = rtrim($array[0]);
$date = rtrim($array[1]);
$today_count = rtrim($array[2]);