diff --git a/root/etc/e-smith/templates/etc/ajaxplorer/bootstrap_repositories.php/050repo b/root/etc/e-smith/templates/etc/ajaxplorer/bootstrap_repositories.php/050repo index 041c348..5f5a988 100644 --- a/root/etc/e-smith/templates/etc/ajaxplorer/bootstrap_repositories.php/050repo +++ b/root/etc/e-smith/templates/etc/ajaxplorer/bootstrap_repositories.php/050repo @@ -43,21 +43,6 @@ foreach my $share ($a->get_all_by_prop(type=>'share')){ my $desc = $share->prop('Name') || $name; my $recycledir = (($share->prop('RecycleBin') || 'disabled') eq 'disabled') ? '' : $share->prop('RecycleBinDir') || 'Recycle Bin'; - my $meta = (($share->prop('AjaxplorerIndex') || 'disabled') eq 'disabled') ? - '' : '"index.lucene" => array( - "index_content" => "1", - "index_meta_fields" => "anything_area", - "repository_specific_keywords" => "" - ),' . "\n "; - $meta .= (($share->prop('AjaxplorerMetadata') || 'disabled') eq 'disabled') ? - '' : '"metastore.serial" => array( - "METADATA_FILE_LOCATION" => "outside", - ), - "meta.user" => array ( - "meta_fields" => "tags,stars_rate,css_label,anything_area", - "meta_labels" => "Tags,Rate,Type,Note", - ), - "meta.filehasher" => array(),'; $OUT .=<<"EOF"; \$REPOSITORIES["$name"] = array( @@ -74,7 +59,19 @@ foreach my $share ($a->get_all_by_prop(type=>'share')){ "PAGINATION_THRESHOLD" => 500, "PAGINATION_NUMBER" => 200, "META_SOURCES" => array( - $meta + "index.lucene" => array( + "index_content" => "1", + "index_meta_fields" => "anything_area", + "repository_specific_keywords" => "" + ), + "metastore.serial" => array( + "METADATA_FILE_LOCATION" => "outside", + ), + "meta.user" => array ( + "meta_fields" => "tags,stars_rate,css_label,anything_area", + "meta_labels" => "Tags,Rate,Type,Note", + ), + "meta.filehasher" => array(), ) ), );