From 1244ed9fbe38783e0328c88d73ef36389eb6c2a3 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Thu, 15 Oct 2009 13:46:12 +0200 Subject: [PATCH] Load base.php --- ansel/lib/Api.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansel/lib/Api.php b/ansel/lib/Api.php index 32d2c7ab6..66939477e 100644 --- a/ansel/lib/Api.php +++ b/ansel/lib/Api.php @@ -238,6 +238,8 @@ class Ansel_Api extends Horde_Registry_Api */ public function hasComments() { + require_once dirname(__FILE__) . '/base.php'; + if (($GLOBALS['conf']['comments']['allow'] == 'all' || ($GLOBALS['conf']['comments']['allow'] == 'authenticated' && Horde_Auth::getAuth()))) { -- 2.11.0