From cbd7c2d1f8eb3c245117c624697f11d92afce3de Mon Sep 17 00:00:00 2001 From: Gabriel Dunne Date: Mon, 19 Dec 2011 08:39:41 -0800 Subject: [PATCH] Updated var in get --- get.php | 1 + 1 file changed, 1 insertion(+) diff --git a/get.php b/get.php index a90c953..3ec5a13 100644 --- a/get.php +++ b/get.php @@ -9,6 +9,7 @@ $params['id'] = isset($_GET['id']) ? $_GET['id'] : null; $pathinfo = pathinfo($_SERVER['REQUEST_URI']); $format = isset($pathinfo['extension']) ? $pathinfo['extension'] : null; +$endpoint = ''; $endpoint = str_replace('.'.$format, '', $endpoint); $dbh = get_db_connection(); -- 2.34.1