mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-08 01:26:47 +01:00
Add trailing slash to path
Otherwise, will ignore files such as lib/plugins-display.php etc
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user