Use the new Pydio prop on share to check if access is enabled

tags/0.2.0
Daniel Berteaud 11 years ago
parent 1b5123d525
commit c660ad6026
  1. 2
      root/etc/e-smith/templates/etc/pydio/bootstrap_repositories.php/050repo

@ -50,7 +50,7 @@ EOF
foreach my $share ($a->get_all_by_prop(type=>'share')){
my $name = $share->key;
my $access = $share->prop('Ajaxplorer') || 'disabled';
my $access = $share->prop('Pydio') || 'disabled';
next unless ($access eq 'enabled');
my $desc = $share->prop('Name') || $name;
my $recycledir = (($share->prop('RecycleBin') || 'disabled') eq 'disabled') ?

Loading…
Cancel
Save