Replace path.exists with fs.exists

pull/829/head
Marcel Klehr 2012-06-30 18:57:59 +02:00
parent c0c820c760
commit 9d35b51500
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ var util = require('util');
var settings = require('./Settings');
var CACHE_DIR = path.normalize(path.join(settings.root, 'var/'));
CACHE_DIR = path.existsSync(CACHE_DIR) ? CACHE_DIR : undefined;
CACHE_DIR = fs.existsSync(CACHE_DIR) ? CACHE_DIR : undefined;
var responseCache = {};