Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix loading autoload.php in propel.php, when we use propel in externa…

…l projects

Fix the fix

Fix the fix 2

Fix loading autoload in propel.php
  • Loading branch information...
commit 65148db0959eb72f93e37662677d053667bc44a5 1 parent 784b6e4
@cristianoc72 cristianoc72 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  bin/propel.php
View
2  bin/propel.php
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.