mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-08-29 10:38:57 +02:00
Arranges.
This commit is contained in:
@@ -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;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user