Browse Source

Merge pull request #8 from isidromerayo/master

problems with file permissions
1.0
Andrés Montañez 12 years ago
parent
commit
b8728f2aa2
  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