diff comment.php @ 73:e43b756548b4

Il restait trois instances de defr.org dans le code PHP, c'est réparé :-)
author Franck Deroche <webmaster@defr.org>
date Thu, 20 Mar 2008 19:51:38 +0100
parents 217f56e6bc77
children 7f0347d4c75e
line wrap: on
line diff
--- a/comment.php	Thu Mar 20 19:47:11 2008 +0100
+++ b/comment.php	Thu Mar 20 19:51:38 2008 +0100
@@ -29,9 +29,9 @@
 		'email'     => $AdresseMail,
 		'website'   => $Adresse,
 		'body'      => $Comment,
-		'permalink' => 'http://defr.org/blog/posts/' . $id
+		'permalink' => BLOG_URL . '/posts/' . $id
 	);
-	$ak = new akismet('http://defr.org/blog', AKISMET_API_KEY, $comment);
+	$ak = new akismet(BLOG_URL, AKISMET_API_KEY, $comment);
 	if(!$ak->errorsExist())
 	  $visibleBool = !$ak->isSpam();
 	else