OSDN Git Service

PKWK_SAFE_MODE prohibit this
authorhenoheno <henoheno>
Sun, 23 Jan 2005 09:37:05 +0000 (18:37 +0900)
committerhenoheno <henoheno>
Sun, 23 Jan 2005 09:37:05 +0000 (18:37 +0900)
plugin/versionlist.inc.php

index eae2697..ae7e273 100644 (file)
@@ -1,25 +1,27 @@
 <?php
+// $Id: versionlist.inc.php,v 1.14 2005/01/23 09:37:05 henoheno Exp $
 /*
- * PukiWiki versionlist¥×¥é¥°¥¤¥ó
+ * PukiWiki versionlist plugin
  *
  * CopyRight 2002 S.YOSHIMURA GPL2
  * http://masui.net/pukiwiki/ yosimura@excellence.ac.jp
- *
- * $Id: versionlist.inc.php,v 1.13 2004/08/01 01:22:37 henoheno Exp $
  */
 
 function plugin_versionlist_action()
 {
        global $_title_versionlist;
 
+       if (PKWK_SAFE_MODE) die_message('PKWK_SAFE_MODE prohibit this');
+
        return array(
                'msg' => $_title_versionlist,
-               'body' => plugin_versionlist_convert()
-       );
+               'body' => plugin_versionlist_convert());
 }
 
 function plugin_versionlist_convert()
 {
+       if (PKWK_SAFE_MODE) return ''; // Show nothing
+       
        /* Ãµº÷¥Ç¥£¥ì¥¯¥È¥êÀßÄê */
        $SCRIPT_DIR = array('./');
        if (LIB_DIR   != './') array_push($SCRIPT_DIR, LIB_DIR);