[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.7-141-ga0789f6

Kevin Falcone falcone at bestpractical.com
Fri Feb 5 12:12:14 EST 2010


The branch, 3.8-trunk has been updated
       via  a0789f618c2fb66e0403707bfc7ff905ff74ae52 (commit)
      from  dc7d83edb9fc81a4383ef78f1e5531c51ee567a9 (commit)

Summary of changes:
 share/html/NoAuth/css/dhandler |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

- Log -----------------------------------------------------------------
commit a0789f618c2fb66e0403707bfc7ff905ff74ae52
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Fri Feb 5 12:10:15 2010 -0500

    Revert "Don't squish CSS outside of comproots"
    
    Unlike fba9e628d1810d3a04328850ab6ce34ec9a934e8 which passes a full
    path, this just passes /NoAuth/css/web2/main-squished.css which
    realpath() helpfully turns into undef and you don't get any css.
    
    This reverts commit 37e90168d8cf8276e6fdf09c2e77b379cfa0d1cb.

diff --git a/share/html/NoAuth/css/dhandler b/share/html/NoAuth/css/dhandler
index 5d43dcc..8c51c95 100644
--- a/share/html/NoAuth/css/dhandler
+++ b/share/html/NoAuth/css/dhandler
@@ -58,10 +58,6 @@ else {
     return $m->decline;
 }
 
-if (!RT::Interface::Web->FileExistsInCompRoots(File => $path)) {
-    return $m->decline;
-}
-
 $squisher = new RT::CSS::Squish unless $squisher;
 $squisher->{'mason'} = $m;
 

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


More information about the Rt-commit mailing list