Skip to content

Commit 6d96f71

Browse files
committed
MDI-1439: set addo cache dir default as if safe mode disabled
1 parent a0c6fac commit 6d96f71

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/adodb5/adodb.inc.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,7 @@ function flushcache($f, $debug=false)
278278
function getdirname($hash)
279279
{
280280
global $ADODB_CACHE_DIR;
281-
if (!isset($this->notSafeMode)) $this->notSafeMode = !ini_get('safe_mode');
282-
return ($this->notSafeMode) ? $ADODB_CACHE_DIR.'/'.substr($hash,0,2) : $ADODB_CACHE_DIR;
281+
return $ADODB_CACHE_DIR.'/'.substr($hash,0,2);
283282
}
284283

285284
// create temp directories

0 commit comments

Comments
 (0)