Author: david
Date: Mon Nov 14 15:16:01 2011
New Revision: 10318

Log:
Set environment in attempt to get sfConfig::get() to work

Modified:
   trunk/plugins/sfSearchPlugin/lib/task/xfPopulateTask.class.php

Modified: trunk/plugins/sfSearchPlugin/lib/task/xfPopulateTask.class.php
==============================================================================
--- trunk/plugins/sfSearchPlugin/lib/task/xfPopulateTask.class.php      Mon Nov 
14 15:06:55 2011        (r10317)
+++ trunk/plugins/sfSearchPlugin/lib/task/xfPopulateTask.class.php      Mon Nov 
14 15:16:01 2011        (r10318)
@@ -26,6 +26,7 @@
 
     $this->addOptions(array(
       new sfCommandOption('application', null, 
sfCommandOption::PARAMETER_OPTIONAL, 'The application name', 'qubit'),
+      new sfCommandOption('env', null, sfCommandOption::PARAMETER_REQUIRED, 
'The environment', 'cli'),
 //      new sfCommandOption('optimize', 'o', sfCommandOption::PARAMETER_NONE, 
'If passed, the index is optimized after population'),
       new sfCommandOption('actorOffset', null, 
sfCommandOption::PARAMETER_REQUIRED, 'Segmentation fault workaround (actors)'),
       new sfCommandOption('ioOffset', null, 
sfCommandOption::PARAMETER_REQUIRED, 'Segmentation fault workaround 
(information objects)')));

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to