diff options
| author | Nathan Kinkade <nath@nkinka.de> | 2012-12-31 15:27:39 +0000 |
|---|---|---|
| committer | Nathan Kinkade <nath@nkinka.de> | 2012-12-31 15:27:39 +0000 |
| commit | 0b07d7392c2e269bbc6944cd9ab72900126b9f7c (patch) | |
| tree | 0a6694a0fa454d6a97b5d20fbde5c4322c337037 /view_food.php | |
| parent | cb977f3c5c80f4a4ca58437c7479d2e431a089e0 (diff) | |
Removed .php extension from URLs.
Diffstat (limited to 'view_food.php')
| -rw-r--r-- | view_food.php | 2 |
1 files changed, 1 insertions, 1 deletions
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']}"); |
