Load base.php
authorJan Schneider <jan@horde.org>
Thu, 15 Oct 2009 11:46:12 +0000 (13:46 +0200)
committerJan Schneider <jan@horde.org>
Thu, 15 Oct 2009 11:56:06 +0000 (13:56 +0200)
ansel/lib/Api.php

index 32d2c7a..6693947 100644 (file)
@@ -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()))) {