mirror of
https://github.com/tim-krehan/shopping-list.git
synced 2024-11-24 06:40:01 +01:00
21 lines
389 B
PHP
21 lines
389 B
PHP
|
<?php
|
||
|
session_start();
|
||
|
switch($_GET["call"]) {
|
||
|
case 'list':
|
||
|
include $_SESSION["docroot"].'/php/edit-list.php';
|
||
|
break;
|
||
|
|
||
|
case 'recipes':
|
||
|
include $_SESSION["docroot"].'/php/edit-recipes.php';
|
||
|
break;
|
||
|
|
||
|
case 'user':
|
||
|
include $_SESSION["docroot"].'/php/edit-user.php';
|
||
|
break;
|
||
|
|
||
|
default:
|
||
|
echo "API call not defined";
|
||
|
break;
|
||
|
}
|
||
|
?>
|