diff options
author | Andreas Gohr <gohr@cosmocode.de> | 2025-05-21 19:13:07 +0200 |
---|---|---|
committer | Andreas Gohr <gohr@cosmocode.de> | 2025-05-21 19:13:07 +0200 |
commit | 396ae2b1e4ac18cd8a3de8ba055f983a807687dc (patch) | |
tree | c424b243f1843bf1969e5bc650acdd29dc47072e | |
parent | f7f57de8479f2faaf7cd989cbe605004194be3a9 (diff) | |
download | dokuwiki-396ae2b1e4ac18cd8a3de8ba055f983a807687dc.tar.gz dokuwiki-396ae2b1e4ac18cd8a3de8ba055f983a807687dc.zip |
do not check bundled plugins for write permissions
fixes #4441
replaces #4442
-rw-r--r-- | lib/plugins/extension/Installer.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/plugins/extension/Installer.php b/lib/plugins/extension/Installer.php index e08f1da52..5bb429b01 100644 --- a/lib/plugins/extension/Installer.php +++ b/lib/plugins/extension/Installer.php @@ -406,6 +406,11 @@ class Installer { $target = $extension->getInstallDir(); + // bundled plugins do not need to be writable + if ($extension->isBundled()) { + return; + } + // updates if (file_exists($target)) { if (!is_writable($target)) throw new Exception('noperms'); |