Skip to content

Commit

Permalink
Test plugins directory
Browse files Browse the repository at this point in the history
see #1465
  • Loading branch information
bloatware committed Feb 3, 2020
1 parent 64855d3 commit 93d9b27
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions textpattern/vendors/Textpattern/Plugin/Plugin.php
Expand Up @@ -499,6 +499,10 @@ public function installTextpacks()

public function updateFile($name, $code = null)
{
if (!is_writable(txpath.DS.'plugins')) {
return;
}

$filename = sanitizeForFile($name);

if (!isset($code)) {
Expand Down

0 comments on commit 93d9b27

Please sign in to comment.