I needed a web file manager able to navigate a given directory tree on a server. The best solution I could find was KCFinder available for free and considered reliable as long as I could read until now.
So I downloaded the last stable versione (3.12) and made a basic installation on my server.
I simply copied the whole kcfinder-3.12 folder in my wwwroot on a machine running Linux Debian+Apache+PHP5 then modified the kcfinder/conf/config.php
so that any user was allowed to access:
'disabled' => false
The default settings for folders remained as follows:
'uploadURL' => "upload",
'uploadDir' => "",
This should give me the right to browse, download and upload files located in the subfolder kcfinder/upload/
But when I run the application, it actually shows me only the subfolder "files/" contained in the above said upload
folder despite many other exists created via shell.
I know this behaviour comes from the types
settings:
'types' => array(
// (F)CKEditor types
'files' => "",
'flash' => "swf",
'images' => "*img",
// TinyMCE types
'file' => "",
'media' => "swf flv avi mpg mpeg qt mov wmv asf rm",
'image' => "*img",
),
But it's not very clear to me how those categories are supposed to fit in my expectations and how I'm instead allowed to have a web based file browser with no restrictions starting from a given directory.
Does anyone know what I'm doing wrong and if there's a way to get total access to a given directory? Here I talked about KCFinder but I'm available to listen any other option as long as it fulfills my request.