mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
add support for parsing javascript files (yjs)
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@542 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -63,7 +63,7 @@ THandleStatus CNeutrinoYParser::Hook_SendResponse(CyhookHandler *hh)
|
||||
init(hh);
|
||||
|
||||
CNeutrinoYParser *yP = new CNeutrinoYParser(NeutrinoAPI); // create a Session
|
||||
if(hh->UrlData["fileext"] == "yhtm") // yParser for yhtm-File
|
||||
if (hh->UrlData["fileext"] == "yhtm" || hh->UrlData["fileext"] == "yjs" || hh->UrlData["fileext"] == "ysh") // yParser for y*-Files
|
||||
yP->ParseAndSendFile(hh);
|
||||
else if(hh->UrlData["path"] == "/y/") // /y/<cgi> commands
|
||||
{
|
||||
|
Reference in New Issue
Block a user