Gossamer Forum
Home : Products : Others : Fileman :

RAQ4r Fileman2 pkg

Quote Reply
RAQ4r Fileman2 pkg
I can't seem to remove the "command" and "perl" functions from the RAQ pkg. I found fileman.pl and changed "cmd_command => 1," to "cmd_command => 0," (and likewise with cmd_perl), but the functions are still there.
What am I missing! (apart from my brain!!) Crazy
Quote Reply
Re: [Tarren] RAQ4r Fileman2 pkg In reply to
Hi,

This is a bug, you need to move commands => { ... }, outside of cfg. So it should look like:

my $fm = GT::FileMan->new (
cfg => {
template_root => '/home/gossamer/fileman/templates',
html_root_url => '/images/fileman',
root_dir => $root_dir,
root_url => '/',
},
commands => {
cmd_search => 1,
cmd_replace => 1,
cmd_command => 1,
cmd_upload => 1,
cmd_editor => 1,
cmd_passwd => 1,
cmd_makedir => 1,
cmd_preferences => 1,
cmd_edit => 1,
cmd_download => 1,
cmd_copy => 1,
cmd_delete => 1,
cmd_move => 1,
cmd_chmod => 1,
cmd_tail => 1,
cmd_perl => 1,
cmd_diff => 1,
cmd_tar => 1,
}
);

We'll update this in the next release.

Cheers,

Alex
--
Gossamer Threads Inc.