Use name and desc for workspaces

tags/0.1.7
Daniel Berteaud 12 years ago
parent 8c7231eb30
commit 92ce313620
  1. 3
      root/etc/e-smith/templates/etc/ajaxplorer/bootstrap_repositories.php/050repo

@ -61,11 +61,12 @@ foreach my $share ($a->get_all_by_prop(type=>'share')){
$OUT .=<<"EOF";
\$REPOSITORIES["$name"] = array(
"DISPLAY" => "$desc",
"DISPLAY" => "$name",
"AJXP_SLUG" => "$name",
"DRIVER" => "fs",
"DRIVER_OPTIONS" => array(
"PATH" => "/home/e-smith/files/shares/$name/files/",
"USER_DESCRIPTION" => "$desc",
"CREATE" => false,
"RECYCLE_BIN" => '$recycledir',
"CHMOD_VALUE" => '0660',

Loading…
Cancel
Save