Changeset 17716 for src/router/httpd/visuals/ejs.c
- Timestamp:
- 10/05/11 15:10:50 (20 months ago)
- File:
-
- 1 edited
-
src/router/httpd/visuals/ejs.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/router/httpd/visuals/ejs.c
r17713 r17716 46 46 int (*wfputs) (char *buf, webs_t fp) = NULL; 47 47 char *(*live_translate) (char *tran) = NULL; 48 websRomPageIndexType * websRomPageIndex = NULL;48 websRomPageIndexType *PwebsRomPageIndex = NULL; 49 49 char *(*GOZILA_GET) (webs_t wp, char *name) = NULL; 50 50 void (*validate_cgi) (webs_t fp) = NULL; … … 71 71 wfputc = env->Pwfputc; 72 72 wfputs = env->Pwfputs; 73 websRomPageIndex = env->PwebsRomPageIndex;73 PwebsRomPageIndex = env->PwebsRomPageIndex; 74 74 live_translate = env->Plive_translate; 75 75 GOZILA_GET = env->PGOZILA_GET; … … 1185 1185 int i = 0; 1186 1186 1187 while ( websRomPageIndex[i].path != NULL) {1188 cprintf("checking %s\n", websRomPageIndex[i].path);1187 while (PwebsRomPageIndex[i].path != NULL) { 1188 cprintf("checking %s\n", PwebsRomPageIndex[i].path); 1189 1189 if (!strncmp 1190 ( websRomPageIndex[i].path, "lang_pack/",1190 (PwebsRomPageIndex[i].path, "lang_pack/", 1191 1191 strlen("lang_pack/"))) { 1192 1192 cprintf("found language\n"); 1193 if (strlen( websRomPageIndex[i].path) < 14)1193 if (strlen(PwebsRomPageIndex[i].path) < 14) 1194 1194 continue; 1195 strcpy(buf, websRomPageIndex[i].path);1195 strcpy(buf, PwebsRomPageIndex[i].path); 1196 1196 char *mybuf = &buf[strlen("lang_pack/")]; 1197 1197
Note: See TracChangeset
for help on using the changeset viewer.
