mirror of https://github.com/hauke68/Magallanes
Andrs Montaez
13 years ago
2 changed files with 17 additions and 8 deletions
@ -1,8 +0,0 @@
|
||||
<?php |
||||
class MyTask |
||||
{ |
||||
public function run() |
||||
{ |
||||
|
||||
} |
||||
} |
@ -0,0 +1,17 @@
|
||||
<?php |
||||
class Task_Privileges |
||||
extends Mage_Task_TaskAbstract |
||||
{ |
||||
public function getName() |
||||
{ |
||||
return 'Fixing file privileges'; |
||||
} |
||||
|
||||
public function run() |
||||
{ |
||||
$command = 'chown 33:33 . -R'; |
||||
$result = $this->_runRemoteCommand($command); |
||||
|
||||
return $result; |
||||
} |
||||
} |
Loading…
Reference in new issue