Permalink
Browse files

Merge pull request #231 from cristianoc72/master

Fix loading autoload from propel.php
  • Loading branch information...
2 parents eec0e38 + 65148db commit 0091866dadbc4edd6b81bcd38c8441384eac75e5 @willdurand willdurand committed Jun 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/propel.php
View
@@ -1,7 +1,7 @@
<?php
if (!class_exists('\Symfony\Component\Console\Application')) {
- if (file_exists($file = __DIR__.'/../autoload.php')) {
+ if (file_exists($file = __DIR__.'/../../../autoload.php') || file_exists($file = __DIR__.'/../autoload.php')) {
require_once $file;
} elseif (file_exists($file = __DIR__.'/../autoload.php.dist')) {
require_once $file;

0 comments on commit 0091866

Please sign in to comment.