From f6cf2f6ccc11b783fa14eaaa01cad494bf6cd023 Mon Sep 17 00:00:00 2001 From: vosykapavel Date: Thu, 10 Nov 2016 14:06:53 +0100 Subject: [PATCH] Added namespaces and removed closing php tag --- api/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/index.php b/api/index.php index 8852693..17d6ac0 100644 --- a/api/index.php +++ b/api/index.php @@ -1,8 +1,10 @@ get('/users', 'getUsers'); $app->get('/users/:id', 'getUser'); $app->post('/add_user', 'addUser'); @@ -100,5 +102,3 @@ function getConnection() { $dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); return $dbh; } - -?> \ No newline at end of file