mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-06-20 14:35:05 +02:00
Merge pull request #8 from isidromerayo/master
problems with file permissions
This commit is contained in:
commit
b8728f2aa2
17
docs/example-config/.mage/tasks/Permissions.php
Normal file
17
docs/example-config/.mage/tasks/Permissions.php
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue