diff --git a/core/lib/PatternLab/Migrator.php b/core/lib/PatternLab/Migrator.php index b839659..74d866c 100644 --- a/core/lib/PatternLab/Migrator.php +++ b/core/lib/PatternLab/Migrator.php @@ -118,7 +118,7 @@ class Migrator { $fileName = str_replace($sourcePath,"",$object->getPathname()); // check to see if it's a new directory - if ($object->isDir() && !is_dir($destinationPath.$fileName)) { + if ($object->isDir() && !is_dir($destinationPath.$fileName)) { mkdir($destinationPath.$fileName); } else if ($object->isFile()) { copy($sourcePath.$fileName,$destinationPath.$fileName); diff --git a/core/migrations/001-move-source.json b/core/migrations/001-move-source.json index f220b58..08bfd4d 100644 --- a/core/migrations/001-move-source.json +++ b/core/migrations/001-move-source.json @@ -1,5 +1,5 @@ { - "sourcePath": "core/source/", - "destinationPath": "source/", + "sourcePath": "core/source", + "destinationPath": "source", "checkType": "dirEmpty" } \ No newline at end of file