Find the framework libs one level up from test.php as well
authorChuck Hagenbuch <chuck@bluestatedigital.com>
Fri, 23 Apr 2010 19:44:24 +0000 (15:44 -0400)
committerChuck Hagenbuch <chuck@bluestatedigital.com>
Fri, 23 Apr 2010 19:44:24 +0000 (15:44 -0400)
horde/test.php

index a075624..ce0fbbe 100644 (file)
@@ -27,7 +27,7 @@ function _hordeTestError($msg)
 
 /* If we can't find the Autoloader, then the framework is not setup. A user
  * must at least correctly install the framework. */
-ini_set('include_path', dirname(__FILE__) . '/lib' . PATH_SEPARATOR . ini_get('include_path'));
+ini_set('include_path', dirname(__FILE__) . '/lib' . PATH_SEPARATOR . dirname(dirname(__FILE__)) . '/lib' . PATH_SEPARATOR . ini_get('include_path'));
 if (!@include_once 'Horde/Autoloader.php') {
     _hordeTestError(sprintf('Could not find Horde\'s framework libraries in the following path(s): %s. Please read horde/docs/INSTALL for information on how to install these libraries.', get_include_path()));
 }