diff --git a/root/etc/e-smith/templates/etc/pydio/bootstrap_repositories.php/050repo b/root/etc/e-smith/templates/etc/pydio/bootstrap_repositories.php/050repo index c1fceab..489d9c4 100644 --- a/root/etc/e-smith/templates/etc/pydio/bootstrap_repositories.php/050repo +++ b/root/etc/e-smith/templates/etc/pydio/bootstrap_repositories.php/050repo @@ -59,6 +59,8 @@ foreach my $share ($a->get_all_by_prop(type=>'share')){ '' : $share->prop('RecycleBinDir') || 'Recycle Bin'; my $history = $share->prop('PydioHistory') || 'disabled'; $history = ($history eq 'enabled') ? '"meta.git" => array(),':''; + my $content = $share->prop('PydioIndexContent') || 'disabled'; + $content = ($content eq 'enabled') ? 'true':'false'; $OUT .=<<"EOF"; \$REPOSITORIES["$name"] = array( @@ -84,7 +86,7 @@ foreach my $share ($a->get_all_by_prop(type=>'share')){ "meta.filehasher" => array(), "meta.watch" => array(), "index.lucene" => array( - "index_content" => true, + "index_content" => $content, "index_meta_fields" => 'tags,anything_area' ) )