summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/core/Output.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/system/core/Output.php b/system/core/Output.php
index af3c1e721..f5521882c 100644
--- a/system/core/Output.php
+++ b/system/core/Output.php
@@ -729,10 +729,9 @@ class CI_Output {
if (empty($uri))
{
$uri = $CI->uri->uri_string();
+ empty($_SERVER['QUERY_STRING']) OR $uri .= '?'.$_SERVER['QUERY_STRING'];
}
- empty($_SERVER['QUERY_STRING']) OR $uri .= '?'.$_SERVER['QUERY_STRING'];
-
$cache_path .= md5($CI->config->item('base_url').$CI->config->item('index_page').$uri);
if ( ! @unlink($cache_path))