1
0
mirror of synced 2024-12-13 14:56:01 +03:00
doctrine2/tools/sandbox/doctrine.php

12 lines
373 B
PHP
Raw Normal View History

<?php
2009-12-22 16:56:30 +03:00
require __DIR__ . '/../../lib/Doctrine/Common/ClassLoader.php';
2009-12-22 16:56:30 +03:00
$classLoader = new \Doctrine\Common\ClassLoader('Doctrine', __DIR__ . '/../../lib');
$classLoader->register();
// Variable $configuration is defined inside cli-config.php
2009-12-22 16:56:30 +03:00
require __DIR__ . '/cli-config.php';
$cli = new \Doctrine\Common\Cli\CliController($configuration);
$cli->run($_SERVER['argv']);