Back to File Manager link error
Status: Alpha
Brought to you by:
craigwatson
If a file name is clicked on for "Edit", and that file is in the Base Directory, once the edit acreen loads, the link near the top that states "Back to file manager", has an error in it. The link code includes "directory=Array", when it should be blank. I added a simple check for the word "Array" in the filelist.php file, located in the \includes\filemanager folder. I tried to modify edit.php, but no luck. Any suggestions or corrections are appreciated.
I do NOT know PHP, but I am working on it :) I have included an attachment with the change, or...
Just after the line:
if(isset($_GET['directory'])) {
Add this line:
if ($_GET['directory'] == "Array") {$_GET['directory'] = "";}
filelist.php with modification