Development

Changeset 13363

You must first sign up to be able to contribute.

Changeset 13363

Show
Ignore:
Timestamp:
11/26/08 21:28:26 (7 months ago)
Author:
FabianLange
Message:

[1.2] made command line much faster. fixes #4928

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.2/data/bin/symfony

    r12920 r13363  
    1414{ 
    1515  require_once('config/ProjectConfiguration.class.php'); 
    16   $configuration = new ProjectConfiguration(); 
    17  
    18   $dir = $configuration->getSymfonyLibDir(); 
     16  $dir = sfCoreAutoload::getInstance()->getBaseDir(); 
    1917} 
    2018else 
  • branches/1.2/lib/autoload/sfCoreAutoload.class.php

    r12696 r13363  
    103103    return true; 
    104104  } 
     105 
     106  /** 
     107   * Returns the base directory this autoloader is working on. 
     108   * 
     109   * @return base directory 
     110   */ 
     111   public function getBaseDir() 
     112   { 
     113     return $this->baseDir; 
     114   } 
    105115 
    106116  /** 

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.