Development

Changeset 12864

You must first sign up to be able to contribute.

Changeset 12864

Show
Ignore:
Timestamp:
11/10/08 08:58:05 (8 months ago)
Author:
fabien
Message:

[1.2] added cache to symfony CLI (closes #4882)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.2/lib/config/sfPluginConfiguration.class.php

    r12539 r12864  
    9494  public function initializeAutoload() 
    9595  { 
    96     $autoload = sfSimpleAutoload::getInstance(); 
     96    $autoload = sfSimpleAutoload::getInstance(sfConfig::get('sf_cache_dir').'/project_autoload.cache'); 
    9797 
    9898    if (is_readable($file = $this->rootDir.'/config/autoload.yml')) 
  • branches/1.2/lib/task/sfBaseTask.class.php

    r12544 r12864  
    170170      } 
    171171 
    172       $autoloader = sfSimpleAutoload::getInstance(); 
     172      $autoloader = sfSimpleAutoload::getInstance(sfConfig::get('sf_cache_dir').'/project_autoload.cache'); 
    173173      $autoloader->addFiles(sfFinder::type('file')->prune('symfony')->follow_link()->name('*.php')->in(sfConfig::get('sf_lib_dir'))); 
    174174      $autoloader->register(); 

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.