2007-10-22 00:40:03 +04:00
|
|
|
<?php
|
|
|
|
require_once('config.php');
|
|
|
|
|
|
|
|
// Configure Doctrine Cli
|
|
|
|
// Normally these are arguments to the cli tasks but if they are set here the arguments will be auto-filled
|
|
|
|
$config = array('data_fixtures_path' => DATA_FIXTURES_PATH,
|
|
|
|
'models_path' => MODELS_PATH,
|
|
|
|
'migrations_path' => MIGRATIONS_PATH,
|
|
|
|
'sql_path' => SQL_PATH,
|
|
|
|
'yaml_schema_path' => YAML_SCHEMA_PATH);
|
|
|
|
|
|
|
|
$cli = new Doctrine_Cli($config);
|
2008-01-23 00:42:17 +03:00
|
|
|
$cli->run($_SERVER['argv']);
|