]> git.quilime.com - clmpr.git/commitdiff
Updated var in get
authorGabriel Dunne <gdunne@quilime.com>
Mon, 19 Dec 2011 16:39:41 +0000 (08:39 -0800)
committerGabriel Dunne <gdunne@quilime.com>
Mon, 19 Dec 2011 16:39:41 +0000 (08:39 -0800)
get.php

diff --git a/get.php b/get.php
index a90c9538eaf1e3dcf3ae7d2a9b40643ce631b5d2..3ec5a139c2a8dd413571d55fc085372d011bcd7e 100644 (file)
--- 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();