Browse Source

My task to fixed problems with file permissions

1.0
Isidro Merayo Castellano 12 years ago
parent
commit
4555570d7b
  1. 17
      docs/example-config/.mage/tasks/Permissions.php

17
docs/example-config/.mage/tasks/Permissions.php

@ -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…
Cancel
Save