1
0
mirror of synced 2024-12-12 22:36:02 +03:00
doctrine2/tools/sandbox/doctrine.php
2009-12-22 13:56:30 +00:00

12 lines
373 B
PHP

<?php
require __DIR__ . '/../../lib/Doctrine/Common/ClassLoader.php';
$classLoader = new \Doctrine\Common\ClassLoader('Doctrine', __DIR__ . '/../../lib');
$classLoader->register();
// Variable $configuration is defined inside cli-config.php
require __DIR__ . '/cli-config.php';
$cli = new \Doctrine\Common\Cli\CliController($configuration);
$cli->run($_SERVER['argv']);