diff --git a/include/constants.php b/include/constants.php index b603f0b7..93f8b677 100644 --- a/include/constants.php +++ b/include/constants.php @@ -1,6 +1,6 @@ doLog("path: $linkName already exits, try to delete it, delResult: " . var_export($delResult, true)); + } + if (is_dir($linkName)) { $this->doLog("path: $linkName already exits, skip create symbolic link $linkName -> $path"); continue; }