Klaus Demo nginx / 62b937b
Fixed directives inheritance. Ruslan Ermilov 10 years ago
1 changed file(s) with 6 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
457457 * with a real skip value. The zero value means Opera.
458458 */
459459
460 if (conf->modern_browsers == NULL) {
460 if (conf->modern_browsers == NULL && conf->modern_unlisted_browsers == 0) {
461461 conf->modern_browsers = prev->modern_browsers;
462
463 } else {
462 conf->modern_unlisted_browsers = prev->modern_unlisted_browsers;
463
464 } else if (conf->modern_browsers != NULL) {
464465 browsers = conf->modern_browsers->elts;
465466
466467 for (i = 0; i < conf->modern_browsers->nelts; i++) {
500501 }
501502 }
502503
503 if (conf->ancient_browsers == NULL) {
504 if (conf->ancient_browsers == NULL && conf->netscape4 == 0) {
504505 conf->ancient_browsers = prev->ancient_browsers;
506 conf->netscape4 = prev->netscape4;
505507 }
506508
507509 if (conf->modern_browser_value == NULL) {