Development

Changeset 10028

You must first sign up to be able to contribute.

Changeset 10028

Show
Ignore:
Timestamp:
06/30/08 22:06:34 (4 months ago)
Author:
fabien
Message:

doc: fixed typo (closes #3862)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • doc/branches/1.1/book/18-Performance.txt

    r9590 r10028  
    474474 
    475475    [php] 
    476     $cache = new sfFileCache(sfConfig::get('sf_cache_dir').'/function'); 
     476    $cache = new sfFileCache(array('cache_dir' => sfConfig::get('sf_cache_dir').'/function')); 
    477477    $fc = new sfFunctionCache($cache); 
    478478    $result1 = $fc->call('cos', array(M_PI)); 
  • doc/branches/1.2/book/18-Performance.txt

    r9590 r10028  
    474474 
    475475    [php] 
    476     $cache = new sfFileCache(sfConfig::get('sf_cache_dir').'/function'); 
     476    $cache = new sfFileCache(array('cache_dir' => sfConfig::get('sf_cache_dir').'/function')); 
    477477    $fc = new sfFunctionCache($cache); 
    478478    $result1 = $fc->call('cos', array(M_PI));