You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to a missing slash in carddav2fb.php:569 before "FRITZ" the URL to the contact image is wrong when using the usb_disk config option.
diff --git a/carddav2fb.php b/carddav2fb.php
index 86993f3..dc0b226 100644
--- a/carddav2fb.php+++ b/carddav2fb.php@@ -566,7 +566,7 @@ class CardDAV2FB
unlink($photo_file . ".b64");
// add contact photo to xml
- $person->addChild("imageURL", $this->config['fritzbox_path'].$this->config['usb_disk']."FRITZ/fonpix/".basename($photo_file));+ $person->addChild("imageURL", $this->config['fritzbox_path'].$this->config['usb_disk']."/FRITZ/fonpix/".basename($photo_file));
print " Added photo: " . basename($photo_file) . PHP_EOL;
}
Side note: uploading the file works as in carddav2fb.php:634 the remote path is set correctly: $remote_path = $this->config['usb_disk']."/FRITZ/fonpix";
The text was updated successfully, but these errors were encountered:
Due to a missing slash in carddav2fb.php:569 before "FRITZ" the URL to the contact image is wrong when using the usb_disk config option.
Side note: uploading the file works as in carddav2fb.php:634 the remote path is set correctly:
$remote_path = $this->config['usb_disk']."/FRITZ/fonpix";
The text was updated successfully, but these errors were encountered: