From: Jan Schneider Date: Thu, 15 Oct 2009 11:46:12 +0000 (+0200) Subject: Load base.php X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=1244ed9fbe38783e0328c88d73ef36389eb6c2a3;p=horde.git Load base.php --- 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()))) {