[system] / branches / rel-2-1-a1 / webwork-modperl / lib / WeBWorK.pm Repository:
ViewVC logotype

Diff of /branches/rel-2-1-a1/webwork-modperl/lib/WeBWorK.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1547 Revision 1548
8=head1 NAME 8=head1 NAME
9 9
10WeBWorK - Dispatch requests to the appropriate ContentGenerator. 10WeBWorK - Dispatch requests to the appropriate ContentGenerator.
11 11
12=cut 12=cut
13
14BEGIN { $main::VERSION = "2.0"; }
13 15
14use strict; 16use strict;
15use warnings; 17use warnings;
16use Apache::Constants qw(:common REDIRECT DONE); 18use Apache::Constants qw(:common REDIRECT DONE);
17use Apache::Request; 19use Apache::Request;
42use WeBWorK::ContentGenerator::ProblemSets; 44use WeBWorK::ContentGenerator::ProblemSets;
43use WeBWorK::ContentGenerator::Test; 45use WeBWorK::ContentGenerator::Test;
44use WeBWorK::CourseEnvironment; 46use WeBWorK::CourseEnvironment;
45use WeBWorK::DB; 47use WeBWorK::DB;
46use WeBWorK::Timing; 48use WeBWorK::Timing;
47
48#sub dispatch($) {
49# print STDERR "Executing &WeBWorK::dispatch\n";
50# return DECLINED;
51#}
52#1;
53#__END__
54 49
55sub dispatch($) { 50sub dispatch($) {
56 my ($apache) = @_; 51 my ($apache) = @_;
57 my $r = Apache::Request->new($apache); 52 my $r = Apache::Request->new($apache);
58 # have to deal with unpredictable GET or POST data, and sift 53 # have to deal with unpredictable GET or POST data, and sift

Legend:
Removed from v.1547  
changed lines
  Added in v.1548

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9