diff --git a/api/api.php b/api/api.php index fc8babb..c14d5be 100644 --- a/api/api.php +++ b/api/api.php @@ -30,7 +30,7 @@ function exceptionHandler($exception) { }; set_exception_handler('exceptionHandler'); -R::setup('sqlite:taskboard.db'); +R::setup('sqlite:'.__DIR__.'/taskboard.db'); createInitialUser(); $app->notFound(function() use ($app, $jsonResponse) { diff --git a/devrouter.php b/devrouter.php new file mode 100644 index 0000000..fb68fec --- /dev/null +++ b/devrouter.php @@ -0,0 +1,17 @@ +