Beispiel #1
0
 private function getPhotoArchive()
 {
     Module::dependencies(isset($_GET['photoID'], $_GET['password']));
     $photo = new Photo($this->database, $this->plugins, null, $_GET['photoID']);
     $pgP = $photo->getPublic($_GET['password']);
     # Photo Download
     if ($pgP === 2) {
         # Photo Public
         $photo->getArchive();
     } else {
         # Photo Private
         exit('Warning: Photo private or password incorrect!');
     }
 }
Beispiel #2
0
 private function getPhotoArchive()
 {
     Module::dependencies(isset($_GET['photoID']));
     $photo = new Photo($this->database, $this->plugins, null, $_GET['photoID']);
     $photo->getArchive();
 }
Beispiel #3
0
 private function getPhotoArchive()
 {
     Module::dependencies(isset($_GET['photoID']));
     $photo = new Photo(null, $_GET['photoID']);
     $photo->getArchive();
 }