1
0
mirror of https://github.com/hauke68/Magallanes.git synced 2025-09-13 20:50:18 +02:00
Magallanes/docs/example-config/.mage/tasks/Privileges.php

17 lines
314 B
PHP
Raw Normal View History

2011-11-23 12:39:59 +01:00
<?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;
}
}