未定義の変数

修正

メッセージ

差分を掲載します。

Index: lib/backup.php
===================================================================
RCS file: /cvsroot/pukiwiki/pukiwiki/lib/backup.php,v
retrieving revision 1.9
diff -u -r1.9 backup.php
--- lib/backup.php	30 Apr 2005 05:21:00 -0000	1.9
+++ lib/backup.php	23 Sep 2005 13:03:05 -0000
@@ -66,7 +66,7 @@
 		$body = preg_replace("/\n*$/", "\n", $body);
 
 		$fp = _backup_fopen($page, 'wb')
-			or die_message('cannot write file ' . htmlspecialchars($realfilename) .
+			or die_message('cannot write file ' . htmlspecialchars(_backup_get_filename($page)) .
 			'<br />maybe permission is not writable or filename is too long');
 		_backup_fputs($fp, $strout);
 		_backup_fputs($fp, $body);
Index: plugin/article.inc.php
===================================================================
RCS file: /cvsroot/pukiwiki/pukiwiki/plugin/article.inc.php,v
retrieving revision 1.24
diff -u -r1.24 article.inc.php
--- plugin/article.inc.php	25 Jun 2005 07:06:12 -0000	1.24
+++ plugin/article.inc.php	23 Sep 2005 13:03:05 -0000
@@ -48,6 +48,7 @@
 	global $script, $post, $vars, $cols, $rows, $now;
 	global $_title_collided, $_msg_collided, $_title_updated;
 	global $_plugin_article_mailto, $_no_subject, $_no_name;
+	global $_msg_article_mail_sender, $_msg_article_mail_page;
 
 	if (PKWK_READONLY) die_message('PKWK_READONLY prohibits editing');
 
Index: plugin/rss10.inc.php
===================================================================
RCS file: /cvsroot/pukiwiki/pukiwiki/plugin/rss10.inc.php,v
retrieving revision 1.16
diff -u -r1.16 rss10.inc.php
--- plugin/rss10.inc.php	2 Dec 2004 11:34:25 -0000	1.16
+++ plugin/rss10.inc.php	23 Sep 2005 13:03:05 -0000
@@ -4,6 +4,8 @@
 
 function plugin_rss10_action()
 {
+	global $script;
+
 	pkwk_headers_sent();
 	header('Status: 301 Moved Permanently');
 	header('Location: ' . $script . '?cmd=rss&ver=1.0'); // HTTP
Index: plugin/touchgraph.inc.php
===================================================================
RCS file: /cvsroot/pukiwiki/pukiwiki/plugin/touchgraph.inc.php,v
retrieving revision 1.8
diff -u -r1.8 touchgraph.inc.php
--- plugin/touchgraph.inc.php	8 Jan 2005 11:45:44 -0000	1.8
+++ plugin/touchgraph.inc.php	23 Sep 2005 13:03:05 -0000
@@ -44,7 +44,7 @@
 			$data = file($file);
 			foreach(explode("\t", trim($data[0])) as $name) {
 				if (preg_match($non_list_pattern, $name)) continue;
-				echo ' ', $link;
+				echo ' ', $name;
 			}
 			echo "\n";
 		}



トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2010-03-08 (月) 12:14:38
Site admin: PukiWiki Development Team

PukiWiki 1.5.4+ © 2001-2022 PukiWiki Development Team. Powered by PHP 8.2.12. HTML convert time: 0.227 sec.

SourceForge