Compare commits
2 Commits
c93526a32f
...
2b3e733304
| Author | SHA1 | Date | |
|---|---|---|---|
| 2b3e733304 | |||
| 0bf8e842cf |
8
config.h
8
config.h
|
|
@ -7,7 +7,7 @@
|
|||
#define WEBIF_LIVELOG 1
|
||||
#define WEBIF_JQUERY 1
|
||||
#define WEBIF_WIKI 1
|
||||
#define WITH_COMPRESS_WEBIF 1
|
||||
//#define WITH_COMPRESS_WEBIF 1
|
||||
//#define WITH_SSL 1
|
||||
#if defined(__linux__) || defined(__CYGWIN__)
|
||||
#define HAVE_DVBAPI 1
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
//#define WITH_NEUTRINO 1
|
||||
#define READ_SDT_CHARSETS 1
|
||||
//#define CLOCKFIX 1
|
||||
#define CS_ANTICASC 1
|
||||
//#define CS_ANTICASC 1
|
||||
#define WITH_DEBUG 1
|
||||
#define WITH_LB 1
|
||||
#define CS_CACHEEX 1
|
||||
|
|
@ -40,8 +40,8 @@
|
|||
//#define MODULE_SERIAL 1
|
||||
#define MODULE_CONSTCW 1
|
||||
//#define MODULE_PANDORA 1
|
||||
//#define MODULE_GHTTP 1
|
||||
#define MODULE_SCAM 1
|
||||
#define MODULE_GHTTP 1
|
||||
//#define MODULE_SCAM 1
|
||||
#define MODULE_STREAMRELAY 1
|
||||
|
||||
#define WITH_CARDREADER 1
|
||||
|
|
|
|||
|
|
@ -3943,6 +3943,12 @@ int cw_vote_add(struct ecm_request_t *er, uint8_t *cw, struct s_reader *rdr)
|
|||
is_local = is_localreader(rdr, er);
|
||||
is_cacheex = cacheex_reader(rdr) ? 1 : 0;
|
||||
}
|
||||
// Dodatkowe sprawdzenie: jeśli er->cacheex_src lub er->from_csp jest ustawione,
|
||||
// to CW pochodzi z CacheEX, nawet jeśli selected_reader nie jest CacheEX readerem
|
||||
if (er->cacheex_src || er->from_csp) {
|
||||
is_cacheex = 1;
|
||||
check_source_duplicates = 0;
|
||||
}
|
||||
} else if (er->cacheex_src) {
|
||||
is_cacheex = 1;
|
||||
if (check_client(er->cacheex_src) && er->cacheex_src->account) {
|
||||
|
|
|
|||
1461
webif/pages_wiki.c
1461
webif/pages_wiki.c
File diff suppressed because one or more lines are too long
|
|
@ -7,13 +7,11 @@
|
|||
|
||||
#ifdef WEBIF_WIKI
|
||||
|
||||
#define COMPRESSED_WIKI 1
|
||||
|
||||
struct wiki_entry {
|
||||
uint32_t param_ofs;
|
||||
uint32_t config_ofs;
|
||||
uint32_t section_ofs;
|
||||
uint32_t text_ofs;
|
||||
const char *param;
|
||||
const char *config;
|
||||
const char *section;
|
||||
const char *text;
|
||||
int8_t status;
|
||||
};
|
||||
|
||||
|
|
@ -21,8 +19,6 @@ int32_t wiki_count(void);
|
|||
const struct wiki_entry *wiki_get_entries(void);
|
||||
const char *wiki_get_help(const char *config, const char *section, const char *param);
|
||||
int8_t wiki_get_status(const char *config, const char *section, const char *param);
|
||||
void wiki_get_data(const char **data, size_t *data_len, size_t *data_olen);
|
||||
char *wiki_get_decompressed_data(void);
|
||||
void webif_wiki_prepare(void);
|
||||
void webif_wiki_free(void);
|
||||
|
||||
|
|
|
|||
BIN
webif/wiki_gen
BIN
webif/wiki_gen
Binary file not shown.
Loading…
Reference in New Issue
Block a user