mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
- controlapi/file: switch to new plain output format
This commit is contained in:
@@ -3129,7 +3129,7 @@ void CControlAPI::FileCGI(CyhookHandler *hh) {
|
|||||||
if (hh->ParamList["action"] == "list") { // directory list: action=list&path=<path>
|
if (hh->ParamList["action"] == "list") { // directory list: action=list&path=<path>
|
||||||
DIR *dirp;
|
DIR *dirp;
|
||||||
|
|
||||||
TOutType outType = hh->outStart(true /*old mode*/);
|
TOutType outType = hh->outStart();
|
||||||
|
|
||||||
std::string path = hh->ParamList["path"];
|
std::string path = hh->ParamList["path"];
|
||||||
if ((dirp = opendir(path.c_str()))) {
|
if ((dirp = opendir(path.c_str()))) {
|
||||||
|
Reference in New Issue
Block a user