Improved UI. Removed logger statements.

This commit is contained in:
Andrew Manning
2016-07-31 07:30:25 -04:00
parent 32366284a8
commit 7c47557554
5 changed files with 58 additions and 45 deletions

View File

@@ -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 :