Skip to content
This repository
Browse code

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

…and pear package
  • Loading branch information...
commit b7b5592a60775fd5f61131d992d7732ad4e3f1c1 1 parent 49598d1
Jérémie Augustin jaugustin authored

Showing 1 changed file with 4 additions and 1 deletion. Show diff stats Hide diff stats

  1. +4 1 PropelBundle.php
5 PropelBundle.php
@@ -28,7 +28,10 @@ public function boot()
28 28 require_once $this->container->getParameter('propel.path').'/runtime/lib/Propel.php';
29 29
30 30 if (0 === strncasecmp(PHP_SAPI, 'cli', 3)) {
31   - set_include_path($this->container->getParameter('kernel.root_dir').'/..'.PATH_SEPARATOR.$this->container->getParameter('propel.phing_path').'/classes'.PATH_SEPARATOR.get_include_path());
  31 + set_include_path($this->container->getParameter('kernel.root_dir').'/..'.PATH_SEPARATOR.
  32 + $this->container->getParameter('propel.phing_path').PATH_SEPARATOR.
  33 + $this->container->getParameter('propel.phing_path').'/classes'.PATH_SEPARATOR.
  34 + get_include_path());
32 35 }
33 36
34 37 if (!\Propel::isInit()) {

0 comments on commit b7b5592

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