Source of file SetPermissions.php
Size: 0,584 Bytes - Last Modified: 2021-12-23T10:42:13+00:00
/var/www/docs.ssmods.com/process/src/src/Commands/ShellCommands/SetPermissions.php
1234567891011121314151617181920212223242526272829 | <?php namespace Sunnysideup\ModuleChecks\Commands\ShellCommands; use Sunnysideup\ModuleChecks\Commands\ShellCommandsAbstract; class SetPermissions extends ShellCommandsAbstract { protected $commands = [ 'find ./ -type f -exec chmod 644 {} \;', 'find . -type d -exec chmod 755 {} \;', ]; /** * should it be included by default? * @var bool */ private static $enabled = false; /** * what does it do? * @return string */ public function getDescription(): string { return 'Reset permissions'; } } |