Skip to content

Instantly share code, notes, and snippets.

View neme101's full-sized avatar

Juan Peon neme101

  • Montevideo, Uruguay
View GitHub Profile
@neme101
neme101 / doctrine_alternative.php
Created April 2, 2013 23:03
How I think the doctrine executable may work on windows running it directly with php
<?php
define('BASEPATH','.'); // mockup that this app was executed from ci ;)
chdir(dirname(__FILE__));
include('doctrine.php');
define('ENVIRONMENT', 'development');
require_once('config/database.php');
// Configure Doctrine Cli