mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-08-28 10:08:56 +02:00
Rewrite Symfony v2 Commands.
This commit is contained in:
@@ -9,8 +9,11 @@ class Mage_Task_BuiltIn_Symfony2_CacheWarmup
|
||||
|
||||
public function run()
|
||||
{
|
||||
$command = 'app/console cache:warmup';
|
||||
$result = $this->_runLocalCommand($command);
|
||||
// Options
|
||||
$env = $this->getParameter('env', 'dev');
|
||||
|
||||
$command = 'app/console cache:warmup --env=' . $env;
|
||||
$result = $this->runCommand($command);
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user