1
0
Fork 0

fix namespace and loader

pull/377/head
till 2012-03-02 22:08:40 +01:00
parent 101e15bb86
commit f7c0ce5c6e
1 changed files with 2 additions and 3 deletions

View File

@ -10,13 +10,12 @@
* file that was distributed with this source code.
*/
// is this namespace correct? I mean, who cares... but?
namespace Composer\Test\Json;
namespace Composer\Test\Repository\Vcs;
/**
* Why does composer force an install when I need an autoloader instead?
*/
$root = dirname(dirname(dirname(dirname(__DIR__)))) . '/src';
$root = dirname(dirname(dirname(dirname(dirname(__DIR__))))) . '/src';
set_include_path($root . ':' . get_include_path());
require_once $root . '/Composer/Autoload/ClassLoader.php';