check if directory of phpfspot.db is writeable
[phpfspot.git] / rpc.php
diff --git a/rpc.php b/rpc.php
index 891f395d77bbc89a9fc2ea022a7444b7bf857ade..078fafd4cba587a1cf6290f54ae267534f8cb116 100644 (file)
--- a/rpc.php
+++ b/rpc.php
@@ -116,6 +116,10 @@ class PHPFSPOT_RPC {
             $fspot->get_calendar_matrix($_GET['year'], $_GET['month'], $_GET['day']);
             break;
 
+         case 'what_to_do':
+            print $fspot->whatToDo();
+            break;
+
       }
 
    } // process_ajax_request();