summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rpc.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/rpc.php b/rpc.php
index ac08129..2bb9628 100644
--- a/rpc.php
+++ b/rpc.php
@@ -44,7 +44,10 @@ class PHPFSPOT_RPC {
switch($_GET['action']) {
case 'showphoto':
- print "test";
+
+ $fspot->prepare_single_photo($_GET['id']);
+ $fspot->tmpl->show("body.tpl");
+
break;
}