You are here

function filecache_default_directory in File Cache 7

2 calls to filecache_default_directory()
filecache_directory in ./filecache.inc
Get base File Cache directory.
filecache_requirements in ./filecache.module
Implements hook_requirements().

File

./filecache.inc, line 38
DrupalFileCache class that implements DrupalCacheInterface.

Code

function filecache_default_directory($quickstart = TRUE) {
  $dir = FILECACHE_QUICKSTART_DIRECTORY;
  if (!$quickstart) {
    $dir = str_replace('.quickstart', '', $dir);
  }
  return DRUPAL_ROOT . '/' . conf_path() . '/files/' . $dir;
}