Changeset 8437 for trunk/module-webif.c


Ignore:
Timestamp:
02/27/13 15:12:32 (9 years ago)
Author:
gf
Message:

Revert "webif: Simplify template loading and checking."

This reverts commit r8346. The subdir logic is used to have different
template directories for different paths comming from http request.

For more info see:

http://www.streamboard.tv/wbb2/thread.php?threadid=37378

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/module-webif.c

    r8436 r8437  
    36423642        *keepalive = 0;
    36433643        if(!apicall){
    3644             char *CSS = tpl_getUnparsedTpl("CSS");
     3644            char *CSS = tpl_getUnparsedTpl("CSS", 1, "");
    36453645            tpl_addVar(vars, TPLADD, "STYLESHEET", CSS);
    36463646            free(CSS);
     
    36703670        *keepalive = 0;
    36713671        if(!apicall){
    3672             char *CSS = tpl_getUnparsedTpl("CSS");
     3672            char *CSS = tpl_getUnparsedTpl("CSS", 1, "");
    36733673            tpl_addVar(vars, TPLADD, "STYLESHEET", CSS);
    36743674            free(CSS);
Note: See TracChangeset for help on using the changeset viewer.