• R/O
  • HTTP
  • SSH
  • HTTPS

pukiwiki_sandbox: 提交


Commit MetaInfo

修訂6ce06a0f0de067ad24ec7b01781ce8f15cede441 (tree)
時間2011-01-25 22:16:35
作者henoheno <henoheno>
Commiterhenoheno

Log Message

Functions to functions

Change Summary

差異

--- a/spam/checker.php
+++ b/spam/checker.php
@@ -1,11 +1,12 @@
11 <?php
2-// $Id: checker.php,v 1.8 2011/01/24 14:46:45 henoheno Exp $
2+// $Id: checker.php,v 1.9 2011/01/25 13:16:35 henoheno Exp $
33 // Concept-work of spam-uri metrics
44 // Copyright (C) 2006-2007 PukiWiki Developers Team
55 // License: GPL v2 or (at your option) any later version
66
77 error_reporting(E_ALL); // Debug purpose
88
9+if (! defined('CONTENT_CHARSET')) define('CONTENT_CHARSET', 'ISO-8859-1');
910 require('spam.php');
1011
1112 // Recursive array_map()
--- a/spam/spam_util.php
+++ b/spam/spam_util.php
@@ -1,5 +1,5 @@
11 <?php
2-// $Id: spam_util.php,v 1.4 2011/01/24 14:51:50 henoheno Exp $
2+// $Id: spam_util.php,v 1.5 2011/01/25 13:16:35 henoheno Exp $
33 // Copyright (C) 2006-2009, 2011 PukiWiki Developers Team
44 // License: GPL v2 or (at your option) any later version
55 //
@@ -41,7 +41,7 @@ function preg_grep_invert($pattern = '//', $input = array())
4141
4242 if (! function_exists('htmlsc')) {
4343 // Interface with PukiWiki
44- if (! defined('CONTENT_CHARSET')) define('CONTENT_CHARSET', 'ISO-8859-1');
44+ //if (! defined('CONTENT_CHARSET')) define('CONTENT_CHARSET', 'ISO-8859-1');
4545
4646 // Sugar with default settings
4747 function htmlsc($string = '', $flags = ENT_QUOTES, $charset = CONTENT_CHARSET)
Show on old repository browser