OSDN Git Service
(root)
/
pukiwiki
/
pukiwiki_sandbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
994bd33
)
Functions to functions
master
author
henoheno
<henoheno>
Tue, 25 Jan 2011 13:16:35 +0000
(22:16 +0900)
committer
henoheno
<henoheno>
Tue, 25 Jan 2011 13:16:35 +0000
(22:16 +0900)
spam/checker.php
patch
|
blob
|
history
spam/spam_util.php
patch
|
blob
|
history
diff --git
a/spam/checker.php
b/spam/checker.php
index
450276c
..
eb139ff
100644
(file)
--- a/
spam/checker.php
+++ b/
spam/checker.php
@@
-1,11
+1,12
@@
<?php
<?php
-// $Id: checker.php,v 1.
8 2011/01/24 14:46:4
5 henoheno Exp $
+// $Id: checker.php,v 1.
9 2011/01/25 13:16:3
5 henoheno Exp $
// Concept-work of spam-uri metrics
// Copyright (C) 2006-2007 PukiWiki Developers Team
// License: GPL v2 or (at your option) any later version
error_reporting(E_ALL); // Debug purpose
// Concept-work of spam-uri metrics
// Copyright (C) 2006-2007 PukiWiki Developers Team
// License: GPL v2 or (at your option) any later version
error_reporting(E_ALL); // Debug purpose
+if (! defined('CONTENT_CHARSET')) define('CONTENT_CHARSET', 'ISO-8859-1');
require('spam.php');
// Recursive array_map()
require('spam.php');
// Recursive array_map()
diff --git
a/spam/spam_util.php
b/spam/spam_util.php
index
3360131
..
22ae474
100644
(file)
--- a/
spam/spam_util.php
+++ b/
spam/spam_util.php
@@
-1,5
+1,5
@@
<?php
<?php
-// $Id: spam_util.php,v 1.
4 2011/01/24 14:51:50
henoheno Exp $
+// $Id: spam_util.php,v 1.
5 2011/01/25 13:16:35
henoheno Exp $
// Copyright (C) 2006-2009, 2011 PukiWiki Developers Team
// License: GPL v2 or (at your option) any later version
//
// Copyright (C) 2006-2009, 2011 PukiWiki Developers Team
// License: GPL v2 or (at your option) any later version
//
@@
-41,7
+41,7
@@
function preg_grep_invert($pattern = '//', $input = array())
if (! function_exists('htmlsc')) {
// Interface with PukiWiki
if (! function_exists('htmlsc')) {
// Interface with PukiWiki
- if (! defined('CONTENT_CHARSET')) define('CONTENT_CHARSET', 'ISO-8859-1');
+
//
if (! defined('CONTENT_CHARSET')) define('CONTENT_CHARSET', 'ISO-8859-1');
// Sugar with default settings
function htmlsc($string = '', $flags = ENT_QUOTES, $charset = CONTENT_CHARSET)
// Sugar with default settings
function htmlsc($string = '', $flags = ENT_QUOTES, $charset = CONTENT_CHARSET)