From 08301db1b87c8bc5535607bbcfda195163150583 Mon Sep 17 00:00:00 2001 From: Michael Rubinsky Date: Thu, 24 Dec 2009 19:48:52 +0000 Subject: [PATCH] need to use HORDE_BASE here, fix constant definition --- whups/index.php | 2 +- whups/lib/base.load.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/whups/index.php b/whups/index.php index e35d6c667..18834b344 100644 --- a/whups/index.php +++ b/whups/index.php @@ -17,7 +17,7 @@ $whups_configured = (is_readable(WHUPS_BASE . '/config/conf.php') && is_readable(WHUPS_BASE . '/config/templates.php')); if (!$whups_configured) { - require WHUPS_BASE . '/../lib/Test.php'; + require HORDE_BASE . '/lib/Test.php'; Horde_Test::configFilesMissing('Whups', WHUPS_BASE, array('conf.php', 'mime_drivers.php', 'prefs.php'), array('templates.php' => 'This file defines the templates that various parts of Whups use to format data.', diff --git a/whups/lib/base.load.php b/whups/lib/base.load.php index 7263da3dd..59f97511c 100644 --- a/whups/lib/base.load.php +++ b/whups/lib/base.load.php @@ -11,7 +11,7 @@ */ if (!defined('WHUPS_BASE')) { - define('WHUPS__BASE', dirname(__FILE__) . '/..'); + define('WHUPS_BASE', dirname(__FILE__) . '/..'); } if (!defined('HORDE_BASE')) { -- 2.11.0