X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=rpc.php;h=f4a93ce6eb728a8232616ec6584a558e762cb19b;hp=bdb62069eb11d7d6605f97f463b0d07c510b24d4;hb=6a5756a7ced1e064e6d7c3cb8b67723e01951612;hpb=5aacb6d86fa943c66ee94eb603887bb40e034ec5 diff --git a/rpc.php b/rpc.php index bdb6206..f4a93ce 100644 --- a/rpc.php +++ b/rpc.php @@ -65,7 +65,7 @@ class PHPFSPOT_RPC { switch($action) { case 'showphoto': if(isset($_GET['id']) && is_numeric($_GET['id'])) { - $phpfspot->showPhoto($_GET['id']); + print $phpfspot->showPhoto($_GET['id']); } break; @@ -117,7 +117,7 @@ class PHPFSPOT_RPC { if(isset($_GET['last_photo']) && is_numeric($_GET['last_photo'])) $_SESSION['last_photo'] = $_GET['last_photo']; - $phpfspot->showPhotoIndex(); + print $phpfspot->showPhotoIndex(); break; case 'showcredits':