projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f48c60c
)
Load base.php
author
Jan Schneider
<jan@horde.org>
Thu, 15 Oct 2009 11:46:12 +0000
(13:46 +0200)
committer
Jan Schneider
<jan@horde.org>
Thu, 15 Oct 2009 11:56:06 +0000
(13:56 +0200)
ansel/lib/Api.php
patch
|
blob
|
history
diff --git
a/ansel/lib/Api.php
b/ansel/lib/Api.php
index
32d2c7a
..
6693947
100644
(file)
--- 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()))) {