tweak the path for the final attempt at loading Horde_Cli to reflect the
authorMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 23 Dec 2009 22:06:04 +0000 (17:06 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 23 Dec 2009 22:06:04 +0000 (17:06 -0500)
fact that we are now probably running from framework/bin/

framework/bin/install_framework

index 4ad1631..a641f62 100755 (executable)
@@ -112,7 +112,7 @@ if (strpos(ini_get('include_path'), $destDir) === false) {
 // Do CLI checks and environment setup first.
 if (!@include_once 'Horde/Cli.php') {
     if (!@include_once $srcDir . '/Cli/lib/Horde/Cli.php') {
-        if (!@include_once $cwd . DIRECTORY_SEPARATOR . 'framework/Cli/lib/Horde/Cli.php') {
+        if (!@include_once $cwd . DIRECTORY_SEPARATOR . '../Cli/lib/Horde/Cli.php') {
             print_usage('Horde_Cli library is not in the include_path or in the src directory.');
         }
     }