[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.9.7-883-g820f186

Chia-liang Kao clkao at bestpractical.com
Wed Dec 15 08:20:11 EST 2010


The branch, 3.9-trunk has been updated
       via  820f1863b707d67ef7f9be261018b0b30b637b9a (commit)
      from  c6fb8f7c31fd868736297ab4e9012b7a2cf66b2f (commit)

Summary of changes:
 lib/RT/Interface/Web/Handler.pm |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit 820f1863b707d67ef7f9be261018b0b30b637b9a
Author: Chia-liang Kao <clkao at bestpractical.com>
Date:   Wed Dec 15 21:18:58 2010 +0800

    Call InitSessionDir when building psgi app.

diff --git a/lib/RT/Interface/Web/Handler.pm b/lib/RT/Interface/Web/Handler.pm
index 3323bbd..c9b5e06 100644
--- a/lib/RT/Interface/Web/Handler.pm
+++ b/lib/RT/Interface/Web/Handler.pm
@@ -220,6 +220,8 @@ sub PSGIApp {
     require HTML::Mason::PSGIHandler::Streamy;
     my $h = RT::Interface::Web::Handler::NewHandler('HTML::Mason::PSGIHandler::Streamy');
 
+    $self->InitSessionDir;
+
     return sub {
         my $env = shift;
         RT::ConnectToDatabase() unless RT->InstallMode;

-----------------------------------------------------------------------


More information about the Rt-commit mailing list