Skip to content

Fixes Issue #724 #791

Merged
merged 2 commits into from Nov 11, 2013

2 participants

@Gamesh
Gamesh commented Nov 7, 2013

Added missing require of Propel class for static call Propel::initConnection

@Gamesh Gamesh Fixes Issue #724
Added missing require of Propel class for static call Propel::initConnection
899cf90
@willdurand willdurand commented on an outdated diff Nov 7, 2013
generator/lib/util/PropelMigrationManager.php
@@ -11,6 +11,7 @@
require_once dirname(__FILE__) . '/../model/Table.php';
require_once dirname(__FILE__) . '/../model/Column.php';
require_once dirname(__FILE__) . '/PropelSQLParser.php';
+require_once dirname(dirname(dirname(dirname(__FILE__)))) . '/runtime/lib/Propel.php';
@willdurand
Propel member
willdurand added a note Nov 7, 2013

oO

I don't think you need to nest dirname() three times

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@Gamesh
Gamesh commented Nov 7, 2013

ok replaced with relative path.

@willdurand willdurand merged commit 15384ff into propelorm:master Nov 11, 2013

1 check passed

Details default The Travis CI build passed
@willdurand
Propel member

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.