Skip to content
Browse files

Add phing_path directly to includ path to make it work with composer …

…and pear package
  • Loading branch information...
1 parent 49598d1 commit b7b5592a60775fd5f61131d992d7732ad4e3f1c1 @jaugustin committed Mar 7, 2012
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()) {

0 comments on commit b7b5592

Please sign in to comment.
Something went wrong with that request. Please try again.