From 7b5c9bd838f5c4992e9aad6b25dd4571d7aeb3f0 Mon Sep 17 00:00:00 2001
From: leonnk <leonnk@595374.no-reply.drupal.org>
Date: Thu, 19 Dec 2013 12:30:48 +0000
Subject: [PATCH] Issue #1605308 comment #34, fix README.txt instructions for
 adding code to settings.php

---
 README.txt | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/README.txt b/README.txt
index 4d6f157..5a1c509 100644
--- a/README.txt
+++ b/README.txt
@@ -23,12 +23,9 @@ Once you have Varnish working, use the module you need to do the following:
 * Enable the module.
 * Add something like this to your settings.php file:
 
-// Add Varnish as the page cache handler.
+// Add Varnish as a cache bin.
 $conf['cache_backends'] = array('sites/all/modules/varnish/varnish.cache.inc');
-$conf['cache_class_cache_page'] = 'VarnishCache';
-// Drupal 7 does not cache pages when we invoke hooks during bootstrap.
-// This needs to be disabled.
-$conf['page_cache_invoke_hooks'] = FALSE;
+$conf['cache_class_external_varnish_page'] = 'VarnishCache';
 
 * Go to admin/config/development/varnish and configure your connection Varnish
   appropriately. It should be pretty straight forward from here on.
-- 
1.7.12.4 (Apple Git-37)

