/* *************************************************************************
*
- * Copyright (c) by Andreas Unterkircher, unki@netshadow.at
- * All rights reserved
+ * phpfspot, presents your F-Spot photo collection in Web browsers.
+ *
+ * Copyright (c) by Andreas Unterkircher
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
require_once "phpfspot.class.php";
+/**
+ * PHPFSPOT_RPC class
+ *
+ * handles AJAX-RPC calls from client browsers
+ * @package phpfspot
+ */
class PHPFSPOT_RPC {
+ /**
+ * PHPFSPOT_RPC constructor
+ */
public function __construct()
{
+ /* start PHP session */
session_start();
} // __construct()
$server = new HTML_AJAX_Server();
$server->handleRequest();
- $fspot = new PHPFSPOT();
+ $phpfspot = new PHPFSPOT();
/* if no action is specified, no need to further process this
* function here.
switch($action) {
case 'showphoto':
if(isset($_GET['id']) && is_numeric($_GET['