mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 00:50:18 +01:00 
			
		
		
		
	Arranges.
This commit is contained in:
		
							parent
							
								
									e5f0fe9cfa
								
							
						
					
					
						commit
						b3f80580a4
					
				@ -1,8 +0,0 @@
 | 
				
			|||||||
<?php
 | 
					 | 
				
			||||||
class MyTask
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
    public function run()
 | 
					 | 
				
			||||||
    {
 | 
					 | 
				
			||||||
        
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
							
								
								
									
										17
									
								
								docs/example-config/.mage/tasks/Privileges.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								docs/example-config/.mage/tasks/Privileges.php
									
									
									
									
									
										Normal file
									
								
							@ -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;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user