Mercurial > defr > DualBlog
changeset 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 | d9490757a111 |
files | comment.php tb.php |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
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
--- a/tb.php Thu Mar 20 19:47:11 2008 +0100 +++ b/tb.php Thu Mar 20 19:51:38 2008 +0100 @@ -37,7 +37,7 @@ <encoding>UTF-8</encoding> <blog>Dual Blog</blog> <title>{$post_infos['Titre']}</title> - <url>http://defr.org/post/{$post_infos['num_mess']}</url> + <url>" . BLOG_URL . "/posts/{$post_infos['num_mess']}</url> <excerpt>$excerpt</excerpt> </response>"; ?>