Commit 18a39e9d4c15bd24a080b2234a5f4796e97956e6

Authored by David RENÉ
1 parent 38a122c7

reverse the first test of anubis web server action and controller parameter from…

… old version "aws_action", "aws_controller" to new version "aws_a", "aws_c"
Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
web/controllers_web_site.anubis
... ... @@ -426,8 +426,8 @@ define String
426 426 List(Web_arg) lwa,
427 427 String default
428 428 )=
429   - if get_String(lwa, "aws_controller") is { failure then
430   - if get_String(lwa, "aws_c") is { failure then default,
  429 + if get_String(lwa, "aws_c") is { failure then
  430 + if get_String(lwa, "aws_controller") is { failure then default,
431 431 success(controller) then controller}
432 432 success(controller) then controller
433 433 }
... ... @@ -454,9 +454,9 @@ define (Maybe(WEB_Session), HTTP_Answer)
454 454 if _mb_action_name is
455 455 {
456 456 failure then
457   - if get_String(*_session.web_request.lwa, "aws_action") is
  457 + if get_String(*_session.web_request.lwa, "aws_a") is
458 458 {
459   - failure then get_String(*_session.web_request.lwa, "aws_a"),
  459 + failure then get_String(*_session.web_request.lwa, "aws_action"),
460 460 success(_an) then success(_an)
461 461 }
462 462 success(_an) then success(_an)
... ...