Custom File manager

I created a custom file manager for hestia to use instead of Filegator but after adding it to /usr/local/hestia/web/filemanager and setting the root dir via session:

if($_SESSION['user'] === "admin"){
    $username = $_SESSION['look'];
} else {
    $username = $_SESSION['user'];
}

$root_path = "/home/$username";

It shows no Files found.

Even when I try to set it up as root filemanager for admin using /home as path, it shows all the accounts but clicking on any of them still shows empty.

I think it’s a permissions issue, does any one know how I can fix the problem?

What problems have you encountered while using Filegator? Please provide a detailed description! Self built file management requires a high level of familiarity to take effect!

Probally a permission issue…

But that is for you to figure out…

For me personally, I have no issue with Filegator but I use my VPS for commerfcial purposes and a number of my customers have complained of filegator regarding editing files. I made a filemanager that looks similar to cPanels’ and also a Code Editor using Ace Editor library:

Code Editor:

what permission should be given to /usr/local/hestia/web/**?

I don’t know … default should be fine …

Check your logs / errors. I don’t know how it connects or anything else … So figure it out your self …

Please note we run under the hestiaweb user and probally don’t have read access it other users files…

Alright, I’ll figure it out. Thanks

@bruce Your file manager looks nice!

will be great if you can share it with the community.

2 Likes