From 0b07d7392c2e269bbc6944cd9ab72900126b9f7c Mon Sep 17 00:00:00 2001 From: Nathan Kinkade Date: Mon, 31 Dec 2012 15:27:39 +0000 Subject: Removed .php extension from URLs. --- view_food.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view_food.php') diff --git a/view_food.php b/view_food.php index 04c6bd0..b927459 100644 --- a/view_food.php +++ b/view_food.php @@ -30,7 +30,7 @@ if ( isset($_POST['action']) && ($_POST['action'] == "viewFood") ) { # foods was to simply stick an option in the "Favorites" menu in the # left sidebar, and that form directs the user here. if ( isset($_POST['queryString']) && $_POST['queryString'] == "viewAllFoods" ) { - header("Location: {$config->_rootUri}/list_foods.php"); + header("Location: {$config->_rootUri}/list_foods"); exit; } else { header("Location: {$config->_rootUri}/{$config->_thisScript}?{$_POST['queryString']}"); -- cgit v1.2.3