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