Opps, forgot to commit this
authorAaron Schulz <aaron@users.mediawiki.org>
Sun, 28 Dec 2008 14:32:49 +0000 (14:32 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sun, 28 Dec 2008 14:32:49 +0000 (14:32 +0000)
index.php

index 22e74e9..460c0ec 100644 (file)
--- a/index.php
+++ b/index.php
@@ -77,7 +77,7 @@ if( $wgUseFileCache && isset($wgTitle) ) {
        wfProfileIn( 'main-try-filecache' );
        if( HTMLFileCache::useFileCache() ) {
                /* Try low-level file cache hit */
-               $cache = new HTMLFileCache( $wgTitle );
+               $cache = new HTMLFileCache( $wgTitle, $action );
                if( $cache->isFileCacheGood( /* Assume up to date */ ) ) {
                        /* Check incoming headers to see if client has this cached */
                        if( !$wgOut->checkLastModified( $cache->fileCacheTime() ) ) {