Development

Changeset 6856

You must first sign up to be able to contribute.

Changeset 6856

Show
Ignore:
Timestamp:
12/31/07 17:04:36 (1 year ago)
Author:
fabien
Message:

fixed bug when several tasks call bootstrapSymfony in the same script

Files:

Legend:

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

    r5236 r6856  
    6767  public function bootstrapSymfony($app, $env = 'dev', $debug = true) 
    6868  { 
     69    if (defined('SF_ROOT_DIR')) 
     70    { 
     71      return; 
     72    } 
     73 
    6974    define('SF_ROOT_DIR',    sfConfig::get('sf_root_dir')); 
    7075    define('SF_APP',         $app);