From 92ce31362092540b6d835f46389c4e021366151e Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 3 Jul 2013 13:11:47 +0200 Subject: [PATCH] Use name and desc for workspaces --- .../templates/etc/ajaxplorer/bootstrap_repositories.php/050repo | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 b40071a..041c348 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 @@ -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',