Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix broken path in include_path #170

Merged
merged 1 commit into from

2 participants

@xophm1

This fixes a fatal error occurring when I run ./symfony propel:build-model in sfPropelORMPlugin master.

Fatal error: require_once(): Failed opening required 'task/AbstractPropelDataModelTask.php'
in /var/local/webroot/move/plugins/sfPropelORMPlugin/lib/vendor/propel/generator/lib/task/PropelOMTask.php on line 11

Strangely, the code seems broken since 2011-08.

@willdurand willdurand merged commit 51678fe into from
@willdurand
Owner

Good catch, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 5, 2012
  1. @xophm1

    Fix broken include_path

    xophm1 authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/task/sfPropelBaseTask.class.php
View
2  lib/task/sfPropelBaseTask.class.php
@@ -246,7 +246,7 @@ protected function callPhing($taskName, $checkSchema, $properties = array())
// Call phing targets
sfToolkit::addIncludePath(array(
sfConfig::get('sf_symfony_lib_dir'),
- sfConfig::get('sf_propel_generator_path', sfConfig::get('sf_propel_path').'generator/lib'),
+ sfConfig::get('sf_propel_generator_path', sfConfig::get('sf_propel_path').'/generator/lib'),
));
$args = array();
Something went wrong with that request. Please try again.