/[drupal]/contributions/modules/fastpath_fscache/fastpath_fscache.install
ViewVC logotype

Contents of /contributions/modules/fastpath_fscache/fastpath_fscache.install

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download) (as text)
Mon Jul 30 21:01:10 2007 UTC (2 years, 3 months ago) by weitzman
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-5, DRUPAL-6--1
Changes since 1.2: +2 -2 lines
File MIME type: text/x-php
fix typo in install file
1 <?php
2 // $Id: fastpath_fscache.install,v 1.2 2007/07/30 20:06:52 weitzman Exp $
3
4 function fastpath_fscache_install() {
5
6 $cache_inc_path = drupal_get_path('module', fastpath_fscache). '/cache.fs.inc';
7 variable_set('cache_inc', $cache_inc_path);
8
9 $code =<<<EOT
10 <pre>
11 $conf = array(
12 'page_cache_fastpath' => 1,
13 'cache_inc' => '$cache_inc_path',
14 'file_cache' => '/tmp',
15 );
16 </pre>
17 EOT;
18 ;
19
20 drupal_set_message(t('Fastpath_fscache module installed. Next, add the following lines to your <code>settings.php</code> file. '. $code));
21 }
22
23 // Note: The variable_set() call doesn't really do much except claim the
24 // namespace because this file-based caching system never invokes the db to
25 // retrieve them. These paths still need to be rolled by hand in
26 // settings.php.
27

  ViewVC Help
Powered by ViewVC 1.1.2