tinyfilemanager icon indicating copy to clipboard operation
tinyfilemanager copied to clipboard

I am calling tinyfilemanager from a asp.net core blazor web page. I want to pass the client username info to tinyfilemanager. How can I do that? I have tried first with parameters but your code is overriding the url parameters. Isn't there any way to do that?

Open mut9bu opened this issue 2 years ago • 2 comments

I am calling tinyfilemanager from a asp.net core blazor web page. I want to pass the client username info to tinyfilemanager. How can I do that? I have tried first with parameters but your code is overriding the url parameters. Isn't there any way to do that?

mut9bu avatar Jul 04 '22 16:07 mut9bu

append your query param in fm_redirect

// always use ?p=
if (!isset($_GET['p']) {
    fm_redirect(FM_SELF_URL . '?p=&username='.$_GET['username']);
}

prasathmani avatar Jul 07 '22 06:07 prasathmani

Hi Prasathmani I have tried this. It is working when I open the rooth path the first time. But when I enter a directory or file i immediatly get "Root Path not found"

mut9bu avatar Jul 07 '22 07:07 mut9bu