Return to lonlogin.pm CVS log | Up to [LON-CAPA] / modules / gci |
version 1.16, 2023/03/22 16:32:51 | version 1.17, 2024/04/15 23:57:21 |
---|---|
Line 115 sub handler { | Line 115 sub handler { |
my $textbrowsers=$r->dir_config('lonTextBrowsers'); | my $textbrowsers=$r->dir_config('lonTextBrowsers'); |
my $httpbrowser=$ENV{"HTTP_USER_AGENT"}; | my $httpbrowser=$ENV{"HTTP_USER_AGENT"}; |
foreach (split(/\:/,$textbrowsers)) { | foreach (split(/\:/,$textbrowsers)) { |
if ($httpbrowser=~/$_/i) { | if ($httpbrowser=~/$_/i) { |
$env{'form.interface'}='textual'; | $env{'form.interface'}='textual'; |