diff options
Diffstat (limited to 'httpresource.c')
-rwxr-xr-x | httpresource.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/httpresource.c b/httpresource.c index e29358b..545e7ba 100755 --- a/httpresource.c +++ b/httpresource.c @@ -455,6 +455,12 @@ int cHttpResource::processRequest() { ok_to_serve = true; } + if (mPath.compare(0, strlen(VideoDirectory), VideoDirectory) == 0) { + *(mLog->log())<< DEBUGPREFIX + << " Found video dir request. serving " << mPath << endl; + ok_to_serve = true; + } + if (stat(mPath.c_str(), &statbuf) < 0) { // checking, whether the file or directory exists *(mLog->log())<< DEBUGPREFIX |