[dw-free] DW::Request::Standard
[commit: http://hg.dwscoalition.org/dw-free/rev/6198b849e8ec]
http://bugs.dwscoalition.org/show_bug.cgi?id=2313
Add DW::Request::Standard.
Patch by
exor674.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=2313
Add DW::Request::Standard.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- cgi-bin/DW/Request.pm
-------------------------------------------------------------------------------- diff -r f14d6f610694 -r 6198b849e8ec cgi-bin/DW/Request.pm --- a/cgi-bin/DW/Request.pm Wed Feb 17 04:52:18 2010 +0000 +++ b/cgi-bin/DW/Request.pm Wed Feb 17 04:54:54 2010 +0000 @@ -19,6 +19,7 @@ package DW::Request; use strict; use DW::Request::Apache2; +use DW::Request::Standard; use vars qw( $cur_req $determined ); @@ -37,6 +38,10 @@ sub get { if $r; }; + # NOTE: the Standard module is not done through this path, it is done by + # someone instantiating the module. the module itself then sets $determined + # and $cur_req appropriately. + # hopefully one of the above worked and set $cur_req, but if not, then we # assume we're in fallback/command line mode $determined = 1; --------------------------------------------------------------------------------