From 24790d77dd50a4b18802676e48e1c03def512941 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Radon?= Date: Fri, 25 Oct 2013 21:21:32 +0200 Subject: [PATCH] Ensure that comment module does not overwrite users config with the standard config --- _config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_config.php b/_config.php index 3b05107..85a71c9 100644 --- a/_config.php +++ b/_config.php @@ -26,6 +26,6 @@ * consult the Commenting class. */ -if(class_exists('SiteTree')) { +if(class_exists('SiteTree') && !Commenting::has_commenting('SiteTree')) { Commenting::add('SiteTree'); } \ No newline at end of file