need to use HORDE_BASE here, fix constant definition
authorMichael Rubinsky <mrubinsk@simon.horde.org>
Thu, 24 Dec 2009 19:48:52 +0000 (19:48 +0000)
committerMichael Rubinsky <mrubinsk@simon.horde.org>
Thu, 24 Dec 2009 19:48:52 +0000 (19:48 +0000)
whups/index.php
whups/lib/base.load.php

index e35d6c6..18834b3 100644 (file)
@@ -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.',
index 7263da3..59f9751 100644 (file)
@@ -11,7 +11,7 @@
  */
 
 if (!defined('WHUPS_BASE')) {
-    define('WHUPS__BASE', dirname(__FILE__) . '/..');
+    define('WHUPS_BASE', dirname(__FILE__) . '/..');
 }
 
 if (!defined('HORDE_BASE')) {