/[drupal]/contributions/modules/bitcache/bitcache.admin.inc
ViewVC logotype

Diff of /contributions/modules/bitcache/bitcache.admin.inc

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

revision 1.27, Tue May 19 17:31:03 2009 UTC revision 1.28, Wed Jul 1 04:09:48 2009 UTC
# Line 635  function bitcache_admin_repo_form_valida Line 635  function bitcache_admin_repo_form_valida
635        }        }
636    
637        // Ensure that the directory can be created:        // Ensure that the directory can be created:
638        if (!is_dir($file['location']) && !@mkdir($file['location'])) {        if (!is_dir($location = bitcache_token_replace($file['location'])) && !@mkdir($location)) {
639          form_set_error('file][location', t('The directory %path could not be created.', array('%path' => $file['location'])));          form_set_error('file][location', t('The directory %path could not be created.', array('%path' => $location)));
640        }        }
641      }      }
642    }    }

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

  ViewVC Help
Powered by ViewVC 1.1.2