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

Diff of /contributions/modules/boost/boost.install

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

revision 1.2.2.1.2.3.2.6, Sun May 31 17:51:01 2009 UTC revision 1.2.2.1.2.3.2.7, Mon Jun 1 09:57:48 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: boost.install,v 1.2.2.1.2.3.2.5 2009/05/26 19:47:12 mikeytown2 Exp $  // $Id: boost.install,v 1.2.2.1.2.3.2.6 2009/05/31 17:51:01 mikeytown2 Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 55  function boost_requirements($phase) { Line 55  function boost_requirements($phase) {
55    $t = get_t();    $t = get_t();
56    switch ($phase) {    switch ($phase) {
57      case 'runtime':      case 'runtime':
58          $cache_directory = variable_get('boost_file_path', boost_cache_directory(NULL, FALSE))
59        if ($cache_directory != boost_cache_directory(NULL, FALSE)) {        if ($cache_directory != boost_cache_directory(NULL, FALSE)) {
60          $requirements['boost'] = array(          $requirements['boost'] = array(
61            'title' => $t('Boost'),            'title' => $t('Boost'),
# Line 63  function boost_requirements($phase) { Line 64  function boost_requirements($phase) {
64            'value' => $t('Cache file path'),            'value' => $t('Cache file path'),
65          );          );
66        }        }
67        else if ($cache_directory = variable_get('boost_file_path', boost_cache_directory(NULL, FALSE)) && (!is_dir($cache_directory) || !is_writable($cache_directory))) {        else if ((!is_dir($cache_directory) || !is_writable($cache_directory))) {
68          $requirements['boost'] = array(          $requirements['boost'] = array(
69            'title' => $t('Boost'),            'title' => $t('Boost'),
70            'description' => $t('!cache_dir: does not exist, or is not writable', array('!cache_dir' => $cache_directory)),            'description' => $t('!cache_dir: does not exist, or is not writable', array('!cache_dir' => $cache_directory)),

Legend:
Removed from v.1.2.2.1.2.3.2.6  
changed lines
  Added in v.1.2.2.1.2.3.2.7

  ViewVC Help
Powered by ViewVC 1.1.2