OSDN Git Service
(root)
/
pukiwiki
/
pukiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
9ffc860
)
PKWK_READONLY prohibits this
author
henoheno
<henoheno>
Sun, 23 Jan 2005 07:48:55 +0000
(16:48 +0900)
committer
henoheno
<henoheno>
Sun, 23 Jan 2005 07:48:55 +0000
(16:48 +0900)
plugin/links.inc.php
patch
|
blob
|
history
diff --git
a/plugin/links.inc.php
b/plugin/links.inc.php
index
c3007ff
..
caded24
100644
(file)
--- a/
plugin/links.inc.php
+++ b/
plugin/links.inc.php
@@
-1,6
+1,6
@@
<?php
// PukiWiki - Yet another WikiWikiWeb clone
<?php
// PukiWiki - Yet another WikiWikiWeb clone
-// $Id: links.inc.php,v 1.2
1 2005/01/23 07:47:48
henoheno Exp $
+// $Id: links.inc.php,v 1.2
2 2005/01/23 07:48:55
henoheno Exp $
//
// Update link cache plugin
//
// Update link cache plugin
@@
-35,6
+35,8
@@
function plugin_links_action()
global $script, $post, $vars, $foot_explain;
global $_links_messages;
global $script, $post, $vars, $foot_explain;
global $_links_messages;
+ if (PKWK_READONLY) die_message('PKWK_READONLY prohibits this');
+
$msg = $body = '';
if (empty($vars['action']) || empty($post['adminpass']) || ! pkwk_login($post['adminpass'])) {
$msg = & $_links_messages['title_update'];
$msg = $body = '';
if (empty($vars['action']) || empty($post['adminpass']) || ! pkwk_login($post['adminpass'])) {
$msg = & $_links_messages['title_update'];