Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 1967e38e14
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (17 sloc) 0.559 kB
<?php
if (!@include __DIR__ . '/../vendor/autoload.php') {
die("You must set up the project dependencies, run the following commands:
wget http://getcomposer.org/composer.phar
php composer.phar install
");
}
spl_autoload_register(function($class) {
if (0 === strpos($class, 'Doctrine\\Bundle\\CouchDBBundle')) {
$path = __DIR__.'/../'.implode('/', array_slice(explode('\\', $class), 3)).'.php';
if (!stream_resolve_include_path($path)) {
return false;
}
require_once $path;
return true;
}
});
Jump to Line
Something went wrong with that request. Please try again.