Development

Changeset 7742

You must first sign up to be able to contribute.

Changeset 7742

Show
Ignore:
Timestamp:
03/05/08 10:23:33 (1 year ago)
Author:
fabien
Message:

fixed propel tasks when using plugins

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.1/lib/task/sfBaseTask.class.php

    r7683 r7742  
    5050        $this->configuration = new sfProjectConfiguration(getcwd()); 
    5151      } 
     52    } 
     53 
     54    $autoloader = sfSimpleAutoload::getInstance(); 
     55    foreach ($this->configuration->getModelDirs() as $dir) 
     56    { 
     57      $autoloader->addDirectory($dir); 
    5258    } 
    5359 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting, and supporting several large Open-Source projects.