--- cache.fs.inc.orig	2006-08-26 07:06:20.000000000 +0200
+++ cache.fs.inc	2007-05-26 21:25:07.000000000 +0200
@@ -14,7 +14,7 @@ define('FASTPATH_FSCACHE_PATH', './files
  * @param $key
  *   The cache ID of the data to retrieve.
  */
-function cache_get($key) {
+function cache_get($key, $table = 'cache') {
   global $user;
   
   $cache_lifetime = variable_get('cache_lifetime', 0);
@@ -88,11 +88,12 @@ function cache_get_file($key) {
  * @param $headers
  *   A string containing HTTP header information for cached pages.
  */
-function cache_set($cid, $data, $expire = CACHE_PERMANENT, $headers = NULL) {
+function cache_set($cid, $table = 'cache', $data, $expire = CACHE_PERMANENT, $headers = NULL) {
 
   if (variable_get('page_cache_fastpath', 0)) {
     // prepare the cache before grabbing the file lock
     $cache->cid = $cid;
+    $cache->table = $table;
     $cache->data = $data;
     $cache->created = time();
     $cache->expire = $expire;
@@ -124,7 +125,7 @@ function cache_set($cid, $data, $expire 
  *   If set to TRUE, the $cid is treated as a substring to match rather than a
  *   complete ID.
  */
-function cache_clear_all($cid = NULL, $wildcard = FALSE) {
+function cache_clear_all($cid = NULL, $table = NULL, $wildcard = FALSE) {
   global $user;
   
   $file_cache = variable_get('fastpath_fscache_path', FASTPATH_FSCACHE_PATH);
