mirror of
https://github.com/tim-krehan/shopping-list.git
synced 2024-11-23 22:30:41 +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;
|
||
|
}
|
||
|
?>
|