Posibily for changing hard coded table in filemanager file

Mangas23

Verified User
Joined
Aug 31, 2006
Messages
104
Hello I search solution for modifying hard coded table in filemanager's files.
Someone can help me, or staff add this feature in futur release ?

Thanks
 
I asked DirectAdmin support in email about this two years ago, here is the answer:

The filemanager is chrooted.

This means DA does it's best to parse things before the command is excuted, but cannot parse things that have not yet been processed.

For this reason, parsing the table in the filemanager is not likely going to be possible.

The code I was trying to use that did not work in file manager files, was:

Code:
|$/usr/local/bin/php
<?php
$data = <<<END
|DIRECTORYLIST|
END;
$data = str_replace("class=list", "test", $data);
echo $data;
?>
 
Last edited:
I know that ;) it's why I tell staff to do something ;)
I think I can make change by javascript, but it's not very "ergonomic" ;)
 
Back
Top