X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=app.psgi;h=8d1d1ec9fa39bea51aaa2d79ff309c34fb641f75;hb=fcc0ac4b3e1add54072e879339d36945bd4ac297;hp=72558f139fff16a6e2514074d1cbf22d8ebf1ae1;hpb=31d17e539ffaf62762870f507825eee83aa26206;p=gruntmaster-page.git diff --git a/app.psgi b/app.psgi index 72558f1..8d1d1ec 100644 --- a/app.psgi +++ b/app.psgi @@ -70,8 +70,8 @@ sub mangle_request { my ($number, $word) = (qr,(\d+),a, qr,(\w+),a); for ($env->{PATH_INFO}) { $env->{'gruntmaster.page'} = $1 if s,/page/$number$,/,; - $env->{'gruntmaster.problem'} = $1 if s,^/pb/$word/,/,; $env->{'gruntmaster.contest'} = $1 if s,^/ct/$word/,/,; + $env->{'gruntmaster.problem'} = $1 if s,^/pb/$word/,/,; $env->{'gruntmaster.user'} = $1 if s,^/us/$word/,/,; $env->{'gruntmaster.page'} //= -1 if m,^/log/$,; }