Merge branch 'psgi' of github.com:plainblack/webgui into psgi

* 'psgi' of github.com:plainblack/webgui:
  fix things i broke

Conflicts:
	lib/WebGUI/Session/ErrorHandler.pm
This commit is contained in:
Patrick Donelan 2010-04-18 14:53:14 -04:00
commit 751023354d
4 changed files with 6 additions and 1 deletions

View file

@ -80,6 +80,9 @@ sub AUTOLOAD {
return $control->getValue(@args);
}
# so it doesn't get autoloaded
sub DESTROY {}
#-------------------------------------------------------------------
=head2 get ( )

View file

@ -21,7 +21,7 @@ use DateTime::Format::Mail;
use DateTime::TimeZone;
use Tie::IxHash;
use WebGUI::International;
use WebGUI::Utility qw(round);
use WebGUI::Utility qw(round isIn);
use Scalar::Util qw(weaken);

View file

@ -207,6 +207,7 @@ sub new {
# Thanks to Plack, wG has been decoupled from Log4Perl
# However when called outside a web context, we currently still fall back to Log4perl
# (pending a better idea)
require Log::Log4perl;
Log::Log4perl->init_once( WebGUI::Paths->logConfig );
my $log4perl = Log::Log4perl->get_logger( $session->config->getFilename );
$logger = sub {

View file

@ -17,6 +17,7 @@ package WebGUI::Session::Http;
use strict;
use Scalar::Util qw(weaken);
use WebGUI::Utility qw(isIn);
use HTTP::Date ();
sub _deprecated {