Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Add phing_path directly to include path to make it work with composer and pear package #121

Merged
merged 1 commit into from

2 participants

@jaugustin

This will help working with composer and pear package for phing instead of Xosofox/phing copy

this could be use with this in conf:

phing_path: "%kernel.root_dir%/../vendor/pear-phing"

and this in composer.json

"repositories": [
       {
           "type": "pear",
           "url": "http://pear.phing.info"
       }
   ],
   "require": {
       "pear-phing/phing": "2.4.9"
   }
}
@willdurand
Owner

seems ok, thanks!

@willdurand willdurand merged commit 5df56d4 into propelorm:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 7, 2012
  1. @jaugustin
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 1 deletion.
  1. +4 −1 PropelBundle.php
View
5 PropelBundle.php
@@ -28,7 +28,10 @@ public function boot()
require_once $this->container->getParameter('propel.path').'/runtime/lib/Propel.php';
if (0 === strncasecmp(PHP_SAPI, 'cli', 3)) {
- set_include_path($this->container->getParameter('kernel.root_dir').'/..'.PATH_SEPARATOR.$this->container->getParameter('propel.phing_path').'/classes'.PATH_SEPARATOR.get_include_path());
+ set_include_path($this->container->getParameter('kernel.root_dir').'/..'.PATH_SEPARATOR.
+ $this->container->getParameter('propel.phing_path').PATH_SEPARATOR.
+ $this->container->getParameter('propel.phing_path').'/classes'.PATH_SEPARATOR.
+ get_include_path());
}
if (!\Propel::isInit()) {
Something went wrong with that request. Please try again.