Changeset 1650


Ignore:
Timestamp:
Oct 4, 2010, 5:49:20 AM (10 years ago)
Author:
goya
Message:

Gestion des ports

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/lib/task/indexSolrTask.class.php

    r1555 r1650  
    1717    $this->name = 'Solr';
    1818    $this->briefDescription = 'Index db value on solr';
    19     $this->addOption('env', null, sfCommandOption::PARAMETER_OPTIONAL, 'Changes the environment this task is run in', 'test');
     19    $this->addOption('env', null, sfCommandOption::PARAMETER_OPTIONAL, 'Changes the environment this task is run in', 'prod');
    2020    $this->addOption('app', null, sfCommandOption::PARAMETER_OPTIONAL, 'Changes the environment this task is run in', 'frontend');
    2121    $this->addOption('removeAll', null, sfCommandOption::PARAMETER_OPTIONAL, 'Drop solr database (=no|yes no default)', 'no');
     
    6060  protected function execute($arguments = array(), $options = array())
    6161  {
     62    $this->configuration = sfProjectConfiguration::getApplicationConfiguration($options['app'], $options['dev'], true);
    6263    $manager = new sfDatabaseManager($this->configuration);   
    6364
Note: See TracChangeset for help on using the changeset viewer.