Skip to content
Permalink
Browse files

v3.1.7 - Fix bug with cloudCore directory checking

-v3.1.7.
-Fix bug with directory checking.
-Change from isDir to is_dir.
  • Loading branch information...
zelon88 committed May 8, 2019
1 parent 21fa35b commit 9ce138cc19c41793e6e27ffb6f998d7ffe5b5b6d
Showing with 2 additions and 2 deletions.
  1. +2 −2 cloudCore.php
@@ -140,7 +140,7 @@
if (strpos($item, $DangerousFile) !== FALSE) continue 2; }
$item = str_replace('..', '', str_replace('//', '/', str_replace('///', '/', $item)));
$F4 = str_replace('..', '', str_replace('//', '/', str_replace('///', '/', $F3.DIRECTORY_SEPARATOR.$iterator->getSubPathName())));
if ($item->isDir()) {
if (is_dir($item)) {
@mkdir($F4);
$txt = ('OP-Act: Created '.$F4.' on '.$Time.'.');
$MAKELogFile = file_put_contents($LogFile, $txt.PHP_EOL, FILE_APPEND);
@@ -1216,4 +1216,4 @@ function search($searchTerm, $searchDir) {
die('<script type="text/javascript">window.location = "DATA/'.$UserID.'/.AppData/Shared/.index.php?viewsharebutton=view+shared";</script>'); }
require($InstLoc.'/Applications/displaydirectorycontents_72716/index.php');
// / -----------------------------------------------------------------------------------
?>
?>

0 comments on commit 9ce138c

Please sign in to comment.
You can’t perform that action at this time.