summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-12-04 01:38:11 +0100
committerAndrey Andreev <narf@devilix.net>2014-12-04 01:38:11 +0100
commitdfcca20182d608f68f56a6129cc57b41503244d9 (patch)
treebe3bb233e11098ae4ea98e3a1dddad1b68402de7
parent335722503937979d9a6b10fc625c47527d3935f0 (diff)
Another correction following #3384
-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))