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
2 changed files with 2 additions and 2 deletions
|
@ -168,7 +168,7 @@ if (!is_null($this_file)) {
|
||||||
|
|
||||||
// make dirpaths better (without "../")
|
// make dirpaths better (without "../")
|
||||||
foreach (array('storageDir', 'bufferDir', 'transDir', 'accessDir', 'pearPath', 'cronDir') as $d) {
|
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
|
// workaround for missing dirs
|
||||||
// if ( $rp === FALSE ) {
|
// if ( $rp === FALSE ) {
|
||||||
// mkdir( $CC_CONFIG[$d] );
|
// mkdir( $CC_CONFIG[$d] );
|
||||||
|
|
|
@ -144,7 +144,7 @@ set_include_path('.'.PATH_SEPARATOR.$CC_CONFIG['pearPath'].PATH_SEPARATOR.$old_i
|
||||||
|
|
||||||
// make dirpaths better (without ../)
|
// make dirpaths better (without ../)
|
||||||
foreach (array('storageDir', 'bufferDir', 'transDir', 'accessDir', 'pearPath', 'cronDir') as $d) {
|
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
|
// workaround for missing dirs
|
||||||
if ( $rp === FALSE ) {
|
if ( $rp === FALSE ) {
|
||||||
mkdir( $CC_CONFIG[$d] );
|
mkdir( $CC_CONFIG[$d] );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue