From a9545bc842fe8f25aef33cc7cd2748011f940692 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Sun, 29 Dec 2013 12:01:53 +0100 Subject: [PATCH] More accurate class_exists() check The class "Comment" was actually defined by phing/filters/StripLineComments.php. Since I have installed phing globally through composer, its automatically in the include_path. That's a separate problem, but this is a viable workaround. --- _config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_config.php b/_config.php index c772bab..b6f9e5f 100644 --- a/_config.php +++ b/_config.php @@ -9,7 +9,7 @@ * @package spamprotection */ -if(class_exists('Comment')) { +if(class_exists('CommentingController')) { /** * If the comments module is installed then add the spam protection module * to the comments form via this extension