diff --git a/index.php b/index.php index b2363e6..710f956 100644 --- a/index.php +++ b/index.php @@ -7,11 +7,49 @@ use PhotoPrismUpload\API\PhotoPrism; ?> - + login(); + $albums = $api->getAlbums(); +} catch (\Exception $e) { + die('Fehler: ' . $e->getMessage()); +} + if (!isset($_POST['submit'])) { ?> -
- - -
- +
+
+ + + + + +
+ +