Fixes Issue #724 #791

Merged
merged 2 commits into from Nov 11, 2013

Conversation

Projects
None yet
2 participants
@Gamesh
Contributor

Gamesh commented Nov 7, 2013

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

Fixes Issue #724
Added missing require of Propel class for static call Propel::initConnection
@@ -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';

This comment has been minimized.

@willdurand

willdurand Nov 7, 2013

Member

oO

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

@willdurand

willdurand Nov 7, 2013

Member

oO

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

@Gamesh

This comment has been minimized.

Show comment
Hide comment
@Gamesh

Gamesh Nov 7, 2013

Contributor

ok replaced with relative path.

Contributor

Gamesh commented Nov 7, 2013

ok replaced with relative path.

willdurand added a commit that referenced this pull request Nov 11, 2013

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

1 check passed

default The Travis CI build passed
Details
@willdurand

This comment has been minimized.

Show comment
Hide comment
@willdurand

willdurand Nov 11, 2013

Member

thanks

Member

willdurand commented Nov 11, 2013

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment