OSDN Git Service

Cleanup. die('') => exit
authorhenoheno <henoheno>
Sat, 25 Dec 2004 00:43:22 +0000 (09:43 +0900)
committerhenoheno <henoheno>
Sat, 25 Dec 2004 00:43:22 +0000 (09:43 +0900)
plugin/bugtrack.inc.php
plugin/lookup.inc.php
plugin/newpage.inc.php

index f81cae8..04e3473 100644 (file)
@@ -8,7 +8,7 @@
  * Êѹ¹ÍúÎò:
  *  2002.06.17: ºî¤ê»Ï¤á
  *
- * $Id: bugtrack.inc.php,v 1.18 2004/12/02 11:34:25 henoheno Exp $
+ * $Id: bugtrack.inc.php,v 1.19 2004/12/25 00:43:22 henoheno Exp $
  */
 
 function plugin_bugtrack_init()
@@ -42,10 +42,12 @@ function plugin_bugtrack_action()
        global $post, $vars, $_bugtrack_plugin_title;
 
        if ($post['mode'] == 'submit') {
-               $page = plugin_bugtrack_write($post['base'], $post['pagename'], $post['summary'], $post['name'], $post['priority'], $post['state'], $post['category'], $post['version'], $post['body']);
+               $page = plugin_bugtrack_write($post['base'], $post['pagename'], $post['summary'],
+                       $post['name'], $post['priority'], $post['state'], $post['category'],
+                       $post['version'], $post['body']);
                pkwk_headers_sent();
                header('Location: ' . get_script_uri() . '?' . rawurlencode($page));
-               die;
+               exit;
        }
        return FALSE;
 /*
index 90ab614..fd2fcf3 100644 (file)
@@ -2,7 +2,7 @@
 /////////////////////////////////////////////////
 // PukiWiki - Yet another WikiWikiWeb clone.
 //
-// $Id: lookup.inc.php,v 1.13 2004/12/02 11:34:25 henoheno Exp $
+// $Id: lookup.inc.php,v 1.14 2004/12/25 00:43:22 henoheno Exp $
 //
 // Lookup plugin
 
@@ -54,6 +54,6 @@ function plugin_lookup_action()
 
        pkwk_headers_sent();
        header('Location: ' . $url); // Publish as GET method
-       die();
+       exit;
 }
 ?>
index 281b52f..8124226 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-// $Id: newpage.inc.php,v 1.11 2004/12/02 11:39:08 henoheno Exp $
+// $Id: newpage.inc.php,v 1.12 2004/12/25 00:43:22 henoheno Exp $
 
 function plugin_newpage_convert()
 {
@@ -45,6 +45,6 @@ function plugin_newpage_action()
 
        pkwk_headers_sent();
        header('Location: ' . get_script_uri() . '?cmd=read&page=' . $r_page . '&refer=' . $r_refer);
-       die();
+       exit;
 }
 ?>