remove PLACK_MINIFIER
authorDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 11 Apr 2012 12:35:13 +0000 (14:35 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 30 May 2012 20:28:38 +0000 (22:28 +0200)
misc/plack/koha.psgi

index 9bf3ecd..e388dae 100644 (file)
@@ -16,8 +16,6 @@ $ENV{PLACK_DEBUG} = 1; # toggle debugging
 $ENV{MEMCACHED_SERVERS} = "localhost:11211";
 #$ENV{MEMCACHED_DEBUG} = 0;
 
-#$ENV{PLACK_MINIFY} = 1;
-
 $ENV{PROFILE_PER_PAGE} = 1; # reset persistant and profile counters after each page, like CGI
 #$ENV{INTRANET} = 1; # usually passed from script
 
@@ -74,10 +72,6 @@ builder {
                path => qr{^/(intranet|opac)-tmpl/},
                root => "$ENV{INTRANETDIR}/koha-tmpl/";
 
-       enable_if { $ENV{PLACK_MINIFIER} } "Plack::Middleware::Static::Minifier",
-               path => qr{^/(intranet|opac)-tmpl/},
-               root => "$ENV{INTRANETDIR}/koha-tmpl/";
-
        mount "/cgi-bin/koha" => $app;
 
 };