Changed $rp = realpath to $rp = file_exists, found out it's in the config files as.
This commit is contained in:
parent
2238773916
commit
4d786f8cdd
|
@ -168,7 +168,7 @@ if (!is_null($this_file)) {
|
|||
|
||||
// make dirpaths better (without "../")
|
||||
foreach (array('storageDir', 'bufferDir', 'transDir', 'accessDir', 'pearPath', 'cronDir') as $d) {
|
||||
$rp = realpath($CC_CONFIG[$d]);
|
||||
$rp = file_exists($CC_CONFIG[$d]);
|
||||
// workaround for missing dirs
|
||||
// if ( $rp === FALSE ) {
|
||||
// mkdir( $CC_CONFIG[$d] );
|
||||
|
|
|
@ -144,7 +144,7 @@ set_include_path('.'.PATH_SEPARATOR.$CC_CONFIG['pearPath'].PATH_SEPARATOR.$old_i
|
|||
|
||||
// make dirpaths better (without ../)
|
||||
foreach (array('storageDir', 'bufferDir', 'transDir', 'accessDir', 'pearPath', 'cronDir') as $d) {
|
||||
$rp = realpath($CC_CONFIG[$d]);
|
||||
$rp = file_exists($CC_CONFIG[$d]);
|
||||
// workaround for missing dirs
|
||||
if ( $rp === FALSE ) {
|
||||
mkdir( $CC_CONFIG[$d] );
|
||||
|
|
Loading…
Reference in New Issue