From: Michael Rubinsky Date: Thu, 24 Dec 2009 19:48:52 +0000 (+0000) Subject: need to use HORDE_BASE here, fix constant definition X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=08301db1b87c8bc5535607bbcfda195163150583;p=horde.git need to use HORDE_BASE here, fix constant definition --- 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')) {