mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +02:00
controlapi/mod_yparse: avoid double code ...
... by moving functions to execute scripts to helpers.cpp|h
Change outType from ExecCGI to text/plain because all arguments
are passed to the script. So no format can be defined.
Origin commit data
------------------
Branch: ni/coolstream
Commit: b5e2998d54
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-22 (Mon, 22 Feb 2016)
Origin message was:
------------------
- controlapi/mod_yparse: avoid double code ...
... by moving functions to execute scripts to helpers.cpp|h
Change outType from ExecCGI to text/plain because all arguments
are passed to the script. So no format can be defined.
------------------
This commit was generated by Migit
This commit is contained in:
@@ -49,4 +49,9 @@ std::string json_out_success(std::string _result);
|
||||
std::string json_out_error(std::string _error);
|
||||
std::string json_convert_string(std::string s);
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Script Helpers
|
||||
//-----------------------------------------------------------------------------
|
||||
std::string yExecuteScript(std::string cmd);
|
||||
|
||||
#endif /* __yhttpd_helper_h__ */
|
||||
|
Reference in New Issue
Block a user