<?php
// PukiWiki - Yet another WikiWikiWeb clone.
-// $Id: file.php,v 1.39 2005/10/02 16:15:05 henoheno Exp $
+// $Id: file.php,v 1.40 2005/10/04 13:41:03 henoheno Exp $
// Copyright (C)
// 2002-2005 PukiWiki Developers Team
// 2001-2002 Originally written by yu-ji
flock($fp, LOCK_EX);
rewind($fp);
- // Only variables can be passed by reference from PHP 5.0.5
+ // BugTrack2/106: Only variables can be passed by reference from PHP 5.0.5
$tmp_array = array_keys($recent_pages); // with array_splice()
foreach (array_splice($tmp_array, 0, $maxshow) as $page) {
<?php
// PukiWiki - Yet another WikiWikiWeb clone.
-// $Id: html.php,v 1.45 2005/10/02 16:26:12 henoheno Exp $
+// $Id: html.php,v 1.46 2005/10/04 13:41:03 henoheno Exp $
// Copyright (C)
// 2002-2005 PukiWiki Developers Team
// 2001-2002 Originally written by yu-ji
$body = '<div class="small">' . $_msg_word . htmlspecialchars($vars['word']) .
'</div>' . $hr . "\n" . $body;
- // Only variables can be passed by reference from PHP 5.0.5
+ // BugTrack2/106: Only variables can be passed by reference from PHP 5.0.5
// with array_splice(), array_flip()
$tmp_array = preg_split('/\s+/', $vars['word'], -1, PREG_SPLIT_NO_EMPTY);
$tmp_array = array_splice($tmp_array, 0, 10);
<?php
-// $Id: recent.inc.php,v 1.17 2005/10/02 16:15:06 henoheno Exp $
+// $Id: recent.inc.php,v 1.18 2005/10/04 13:41:03 henoheno Exp $
// Copyright (C)
// 2002-2005 PukiWiki Developers Team
// 2002 Y.MASUI http://masui.net/pukiwiki/ masui@masui.net
// Get latest N changes
if (file_exists(PLUGIN_RECENT_CACHE)) {
- // Only variables can be passed by reference from PHP 5.0.5
+ // BugTrack2/106: Only variables can be passed by reference from PHP 5.0.5
$file_array = file(PLUGIN_RECENT_CACHE); // with array_splice()
$lines = array_splice($file_array, 0, $recent_lines);
} else {
<?php
// PukiWiki - Yet another WikiWikiWeb clone
-// $Id: rss.inc.php,v 1.16 2005/10/02 16:15:06 henoheno Exp $
+// $Id: rss.inc.php,v 1.17 2005/10/04 13:41:03 henoheno Exp $
//
// RSS plugin: Publishing RSS of RecentChanges
//
// Creating <item>
$items = $rdf_li = '';
- // Only variables can be passed by reference from PHP 5.0.5
+ // BugTrack2/106: Only variables can be passed by reference from PHP 5.0.5
$file_array = file($recent); // with array_splice()
foreach (array_splice($file_array, 0, $rss_max) as $line) {
<?php
// PukiWiki - Yet another WikiWikiWeb clone.
-// $Id: rules.ini.php,v 1.8 2005/10/02 16:15:05 henoheno Exp $
+// $Id: rules.ini.php,v 1.9 2005/10/04 13:41:03 henoheno Exp $
// Copyright (C)
// 2003-2005 PukiWiki Developers Team
// 2001-2002 Originally written by yu-ji
// ¹ÔËö»ØÄê¤Ï $ ¤ò¸å¤í¤Ë¡£
//
-// Only variables can be passed by reference from PHP 5.0.5
+// BugTrack2/106: Only variables can be passed by reference from PHP 5.0.5
$page_array = explode('/', $vars['page']); // with array_pop()
$str_rules = array(
'&fpage;' => $vars['page'],
'&t;' => "\t",
);
+
unset($page_array);
?>