Mercurial > defr > DualBlog
comparison 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 |
comparison
equal
deleted
inserted
replaced
72:217f56e6bc77 | 73:e43b756548b4 |
---|---|
27 $comment = array( | 27 $comment = array( |
28 'author' => $Auteur, | 28 'author' => $Auteur, |
29 'email' => $AdresseMail, | 29 'email' => $AdresseMail, |
30 'website' => $Adresse, | 30 'website' => $Adresse, |
31 'body' => $Comment, | 31 'body' => $Comment, |
32 'permalink' => 'http://defr.org/blog/posts/' . $id | 32 'permalink' => BLOG_URL . '/posts/' . $id |
33 ); | 33 ); |
34 $ak = new akismet('http://defr.org/blog', AKISMET_API_KEY, $comment); | 34 $ak = new akismet(BLOG_URL, AKISMET_API_KEY, $comment); |
35 if(!$ak->errorsExist()) | 35 if(!$ak->errorsExist()) |
36 $visibleBool = !$ak->isSpam(); | 36 $visibleBool = !$ak->isSpam(); |
37 else | 37 else |
38 $visibleBool = true; | 38 $visibleBool = true; |
39 | 39 |