Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[fotobilder] r1450: LJSUP-9653 (ljlang refactoring)

Committer: ailyin
LJSUP-9653 (ljlang refactoring)
U   trunk/lib/Apache/FotoBilder.pm
Modified: trunk/lib/Apache/FotoBilder.pm
===================================================================
--- trunk/lib/Apache/FotoBilder.pm	2011-08-30 10:08:18 UTC (rev 1449)
+++ trunk/lib/Apache/FotoBilder.pm	2011-09-01 07:27:24 UTC (rev 1450)
@@ -40,13 +40,13 @@
 # init handler (PostReadRequest)
 sub handler
 {
-    {
-        my $r = shift;
+    my $r = shift;
 
-        LJ::Request->free();
-        LJ::Request->init($r);
-    }
+    LJ::Request->free();
+    LJ::Request->init($r);
 
+    BML::current_site('fotobilder');
+
     LJ::Request->set_handlers(PerlTransHandler => [ \&trans ]);
     LJ::Request->set_handlers(PerlCleanupHandler => [ sub { %RQ = () },
                                              "Apache::FotoBilder::cleanup_tempfiles",

Tags: andy, fotobilder, pm
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments