Changeset 8436 for trunk/module-webif.c


Ignore:
Timestamp:
02/27/13 14:34:41 (9 years ago)
Author:
gf
Message:

webif: Simplify template loading and checking.

The subdir logic seems to complicate the code for no good reason and
as far as I can work out it does nothing. It looks like a leftover
that can be removed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/module-webif.c

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