aboutsummaryrefslogtreecommitdiffstats
path: root/include/import.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/import.php')
-rw-r--r--include/import.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/import.php b/include/import.php
index c69f2eadd..0b2cd38df 100644
--- a/include/import.php
+++ b/include/import.php
@@ -1252,15 +1252,15 @@ function scan_webpage_elements($path, $type, $cloud = false) {
$dirtoscan = $path;
switch ($type) {
case 'page':
- $dirtoscan .= 'pages/';
+ $dirtoscan .= '/pages/';
$json_filename = 'page.json';
break;
case 'layout':
- $dirtoscan .= 'layouts/';
+ $dirtoscan .= '/layouts/';
$json_filename = 'layout.json';
break;
case 'block':
- $dirtoscan .= 'blocks/';
+ $dirtoscan .= '/blocks/';
$json_filename = 'block.json';
break;
default :