M Mangas23 Verified User Joined Aug 31, 2006 Messages 104 Aug 27, 2012 #1 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
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
D ditto Verified User Joined Apr 27, 2009 Messages 2,354 Aug 27, 2012 #2 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. Click to expand... 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: Aug 27, 2012
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. Click to expand... 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; ?>
M Mangas23 Verified User Joined Aug 31, 2006 Messages 104 Aug 27, 2012 #3 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"
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"