Index: trunk/core/kernel/utility/http_query.php =================================================================== diff -u -N -r8041 -r8178 --- trunk/core/kernel/utility/http_query.php (.../http_query.php) (revision 8041) +++ trunk/core/kernel/utility/http_query.php (.../http_query.php) (revision 8178) @@ -339,7 +339,7 @@ $t = array_shift($parts); } - + // Save Template Name $vars['t'] = $this->getDefaultTemplate($t); return $vars; @@ -352,7 +352,7 @@ * desired application variables. * * @param string $env_var enviroment string value - * + * * @access public */ function processQueryString($env_var, $pass_name = 'passed') @@ -378,7 +378,7 @@ $t = $this->getTemplateName('index'); $vars['t'] = $t; } - + return $vars; } @@ -399,7 +399,7 @@ $prefix_special = array_shift($mixed_part); // l.pick, l $query_map = $this->Application->EventManager->setQueryMap($prefix_special); - + $vars = Array (); $vars[$pass_name] = implode(',', array_keys($this->Application->EventManager->queryMaps)); @@ -412,7 +412,7 @@ $vars[$prefix_special.'_'.$var_name] = $val; } } - + return $vars; } @@ -429,7 +429,7 @@ // template name is passed directly in url (GET method) $t = $this->Get['t']; } - + if (is_numeric($t)) { $sql = 'SELECT CONCAT(FilePath, \'/\', FileName) FROM '.TABLE_PREFIX.'ThemeFiles @@ -524,6 +524,10 @@ if ($this->Post) { $data .= "_POST:\n".print_r($this->Post, true); } + + if ($this->Cookie) { + $data .= "_COOKIE:\n".print_r($this->Cookie, true); + } $data .= str_repeat('=', 100)."\n"; fwrite($fp, $data);