From: Gabriel Dunne Date: Mon, 19 Dec 2011 16:39:41 +0000 (-0800) Subject: Updated var in get X-Git-Tag: v0.1~22 X-Git-Url: https://git.quilime.com/?a=commitdiff_plain;h=cbd7c2d1f8eb3c245117c624697f11d92afce3de;p=clmpr.git Updated var in get --- 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();