mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 00:50:18 +01:00 
			
		
		
		
	My task to fixed problems with file permissions
This commit is contained in:
		
							parent
							
								
									384aa3cf79
								
							
						
					
					
						commit
						4555570d7b
					
				
							
								
								
									
										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 New Issue
	
	Block a user