|
|
|
@ -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' |
|
|
|
|
) |
|
|
|
|
) |
|
|
|
|