My task to fixed problems with file permissions

This commit is contained in:
Isidro Merayo Castellano 2012-09-20 12:56:42 +02:00
parent 384aa3cf79
commit 4555570d7b

View file

@ -0,0 +1,17 @@
<?php
class Task_Permissions
extends Mage_Task_TaskAbstract
{
public function getName()
{
return 'Fixing file permissions';
}
public function run()
{
$command = 'chmod 755 . -R';
$result = $this->_runRemoteCommand($command);
return $result;
}
}