From: Jan Schneider Date: Tue, 30 Nov 2010 14:41:48 +0000 (+0100) Subject: Fix paths. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=fd212e9e08984c373a002a44e9f8fbcad5677dea;p=horde.git Fix paths. --- diff --git a/framework/Db/test/Horde/Db/Adapter/MysqlSuite.php b/framework/Db/test/Horde/Db/Adapter/MysqlSuite.php index 8c6149676..192ed6467 100644 --- a/framework/Db/test/Horde/Db/Adapter/MysqlSuite.php +++ b/framework/Db/test/Horde/Db/Adapter/MysqlSuite.php @@ -66,7 +66,7 @@ class Horde_Db_Adapter_MysqlSuite extends PHPUnit_Framework_TestSuite $config = array_merge(array('host' => 'localhost', 'username' => '', 'password' => '', 'dbname' => 'test'), json_decode($config, true)); } else { if (!$config) { - $config = dirname(__FILE__) . '/../conf.php'; + $config = dirname(__FILE__) . '/conf.php'; } if (file_exists($config)) { require $config; diff --git a/framework/Db/test/Horde/Db/Adapter/MysqliSuite.php b/framework/Db/test/Horde/Db/Adapter/MysqliSuite.php index 28e499ef9..26b5fce8d 100644 --- a/framework/Db/test/Horde/Db/Adapter/MysqliSuite.php +++ b/framework/Db/test/Horde/Db/Adapter/MysqliSuite.php @@ -64,7 +64,7 @@ class Horde_Db_Adapter_MysqliSuite extends PHPUnit_Framework_TestSuite $config = array_merge(array('host' => 'localhost', 'username' => '', 'password' => '', 'dbname' => 'test'), json_decode($config, true)); } else { if (!$config) { - $config = dirname(__FILE__) . '/../conf.php'; + $config = dirname(__FILE__) . '/conf.php'; } if (file_exists($config)) { require $config;