diff --git a/src/adodb5/adodb.inc.php b/src/adodb5/adodb.inc.php index d8f3e940..ec66fb5a 100644 --- a/src/adodb5/adodb.inc.php +++ b/src/adodb5/adodb.inc.php @@ -278,8 +278,7 @@ function flushcache($f, $debug=false) function getdirname($hash) { global $ADODB_CACHE_DIR; - if (!isset($this->notSafeMode)) $this->notSafeMode = !ini_get('safe_mode'); - return ($this->notSafeMode) ? $ADODB_CACHE_DIR.'/'.substr($hash,0,2) : $ADODB_CACHE_DIR; + return $ADODB_CACHE_DIR.'/'.substr($hash,0,2); } // create temp directories