diff --git a/lib/updater.php b/lib/updater.php index 28f7365..7830e2b 100644 --- a/lib/updater.php +++ b/lib/updater.php @@ -36,7 +36,7 @@ function copyOldVersion() { // Don't move plugins away $testPath = $source.DIRECTORY_SEPARATOR.$iterator->getSubPathName(); $testPath = str_replace("\\","/",$testPath); - if (strpos($testPath,"/plugins")==false) { + if (strpos($testPath,"/plugins/")==false) { if ($item->isDir()) { mkdir($dest.DIRECTORY_SEPARATOR.$iterator->getSubPathName(), 0705); } else {