Total Complexity | 3 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
15 | class ConfigSecurity implements Activable |
||
16 | { |
||
17 | use HasEditFileMode; |
||
18 | |||
19 | protected $content = ' |
||
20 | // ADD vai wp-security plugin |
||
21 | // Disallow editing of PHP files - plugins & theme files - from dashboard. |
||
22 | define(\'DISALLOW_FILE_EDIT\', true); |
||
23 | //define(\'DISALLOW_FILE_MODS\', true); |
||
24 | define( \'DISALLOW_UNFILTERED_HTML\', true ); |
||
25 | // ADD vai wp-security plugin |
||
26 | '; |
||
27 | |||
28 | /** |
||
29 | * ConfigSecurity constructor. |
||
30 | */ |
||
31 | public function __construct() |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * {@inheritdoc} |
||
38 | */ |
||
39 | public function activate() |
||
42 | } |
||
43 | |||
44 | /** |
||
45 | * {@inheritdoc} |
||
46 | */ |
||
47 | public function deactivate() |
||
52 |