Got a basic calendar editing page going.
This commit is contained in:
9
cal/api.php
Normal file
9
cal/api.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
header("Content-Type: application/json");
|
||||
include('lib.php');
|
||||
$ret = array( "err" => "unknown command" );
|
||||
if ( $_GET["cmd"] == "get" ) {
|
||||
$ret = getEvents();
|
||||
}
|
||||
print(json_encode($ret));
|
||||
?>
|
||||
Reference in New Issue
Block a user