mirror of https://github.com/hauke68/Magallanes
Andrés Montañez
13 years ago
1 changed files with 17 additions and 0 deletions
@ -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; |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue