ValueError thrown

DirectoryIterator::__construct(): Argument #1 ($directory) cannot be empty