[imc-sf-coders] CVS update of
sf-active/sf-active/shared/classes/pages (publish.inc)
Bart M
pseudopunk at codecoop.org
Sat Dec 31 03:15:57 PST 2005
Date: Saturday, December 31, 2005 @ 12:15:57
Author: pseudopunk
Path: /cvsroot/sf-active/sf-active/sf-active/shared/classes/pages
Modified: publish.inc
restored spam detection
Index: sf-active/sf-active/shared/classes/pages/publish.inc
diff -u sf-active/sf-active/shared/classes/pages/publish.inc:1.73 sf-active/sf-active/shared/classes/pages/publish.inc:1.74
--- sf-active/sf-active/shared/classes/pages/publish.inc:1.73 Thu Dec 29 21:21:07 2005
+++ sf-active/sf-active/shared/classes/pages/publish.inc Sat Dec 31 12:15:57 2005
@@ -30,7 +30,7 @@
$spam = new Spam();
$spam_publish = 0;
if ($_POST["publish"] != "") $spam_publish = 1;
-/*
+
if ($spam->Detect($spam_publish)==1)
{
$tr = new Translate;
@@ -38,7 +38,7 @@
echo "</body></html>";
exit;
}
-*/
+
// all the needed include files
include_once(SF_SHARED_PATH . '/classes/newswire_class.inc');
include_once(SF_SHARED_PATH . '/classes/category_class.inc');
More information about the imc-sf-coders
mailing list