From 216777b837967a6a5099b29fd86a18ad08435058 Mon Sep 17 00:00:00 2001 From: chirag jagani <3807730+truelineinfotech@users.noreply.github.com> Date: Tue, 9 Apr 2019 09:07:08 +0530 Subject: [PATCH] removed $_SERVER['CI_ENVIRONMENT'] no need to set $_SERVER['CI_ENVIRONMENT'] variable value. --- system/Commands/Server/rewrite.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/system/Commands/Server/rewrite.php b/system/Commands/Server/rewrite.php index f3c0dd7fd3d3..94b7d1524c20 100644 --- a/system/Commands/Server/rewrite.php +++ b/system/Commands/Server/rewrite.php @@ -14,11 +14,6 @@ { return; } - -// If we're serving the site locally, then we need -// to let the application know that we're in development mode -$_SERVER['CI_ENVIRONMENT'] = 'development'; - $uri = urldecode(parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)); // Front Controller path - expected to be in the default folder